Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2481, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003625/0.2518, allocations: 1.903 MB / 434.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.254, allocations: 1.227 MB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.2541, allocations: 7.938 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.2544, allocations: 67.66 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.2548, allocations: 135.4 kB / 435.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.2555, allocations: 230.6 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.2557, allocations: 195.4 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2558, allocations: 24.69 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.256, allocations: 79.7 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.2561, allocations: 91.59 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.2561, allocations: 8 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.2563, allocations: 79.88 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.2564, allocations: 51.84 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.58e-05/0.2565, allocations: 63.53 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.2569, allocations: 254.6 kB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2569, allocations: 0 / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2569, allocations: 0 / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2569, allocations: 0 / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007956/0.2577, allocations: 482.5 kB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2577, allocations: 8.031 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.2578, allocations: 28.75 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2582, allocations: 245.3 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2582, allocations: 8.375 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2583, allocations: 12.12 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.2587, allocations: 200.8 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2587, allocations: 0 / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.2587, allocations: 4 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2587, allocations: 0 / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.2588, allocations: 43.92 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.2594, allocations: 402.3 kB / 438.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.2597, allocations: 150.5 kB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2598, allocations: 55.42 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2599, allocations: 7.938 kB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.2601, allocations: 96.98 kB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.2601, allocations: 0 / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004596/0.2605, allocations: 189.4 kB / 438.6 MB, free: 212 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.2606, allocations: 162.2 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.261, allocations: 344.1 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2611, allocations: 25.7 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2612, allocations: 132.4 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.2612, allocations: 23.83 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.2613, allocations: 29.72 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2614, allocations: 342.8 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.2615, allocations: 23.98 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2617, allocations: 150.6 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.2619, allocations: 97.06 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2619, allocations: 0 / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002685/0.2621, allocations: 137.4 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2621, allocations: 8.188 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2621, allocations: 4 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2622, allocations: 3.938 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2623, allocations: 31.92 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2623, allocations: 0 / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.2624, allocations: 11.94 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2624, allocations: 4 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.2626, allocations: 165.6 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2627, allocations: 73.58 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.263, allocations: 131.3 kB / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.263, allocations: 0 / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.263, allocations: 4 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.263, allocations: 0 / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.2632, allocations: 185.1 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2632, allocations: 4 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.2633, allocations: 16.3 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2633, allocations: 0 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2633, allocations: 8 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2633, allocations: 32 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.2633, allocations: 11.94 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.2636, allocations: 191.3 kB / 440.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.2637, allocations: 43.83 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.2638, allocations: 4 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.2638, allocations: 4 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.2639, allocations: 15.97 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.2639, allocations: 4 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.2642, allocations: 251.1 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2642, allocations: 3.938 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.2645, allocations: 43.92 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/0.2661, allocations: 463.9 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.2664, allocations: 83.84 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2664, allocations: 0 / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.2665, allocations: 39.91 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.2669, allocations: 69.47 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.2676, allocations: 427.4 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2678, allocations: 128.2 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.2678, allocations: 27.42 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2678, allocations: 0 / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.005723/0.2735, allocations: 3.124 MB / 445.6 MB, free: 9.145 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3142666349885985]