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.001218/0.001218, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0009175/0.0009175, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9674/0.9674, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.834e-06/1.834e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.991e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.007321/0.007341, allocations: 1.975 MB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.00907, allocations: 1.269 MB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.009179, allocations: 4 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.01252, allocations: 75.47 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.0129, allocations: 135.4 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.01344, allocations: 227.2 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.01365, allocations: 195.4 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.01375, allocations: 29.72 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.01388, allocations: 107.7 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.01399, allocations: 71.8 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.01401, allocations: 8 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.01416, allocations: 71.94 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.01423, allocations: 55.77 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.01429, allocations: 39.86 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.01457, allocations: 191.2 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01458, allocations: 7.984 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01458, allocations: 0 / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.01458, allocations: 7.938 kB / 277.4 MB, free: 13.08 MB / 266.7 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.000538/0.01512, allocations: 0.5671 MB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.01515, allocations: 8.031 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.01521, allocations: 36.75 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.01549, allocations: 227.5 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.01551, allocations: 8.375 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.01553, allocations: 12.38 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.01586, allocations: 168.8 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01587, allocations: 3.938 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.01589, allocations: 8 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.01589, allocations: 3.984 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.01596, allocations: 23.92 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.01643, allocations: 494 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.01662, allocations: 160.3 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.01669, allocations: 58.72 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.0167, allocations: 7.984 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.01683, allocations: 92.36 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.01683, allocations: 0 / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002834/0.01711, allocations: 153.4 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.01717, allocations: 132.5 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.01744, allocations: 326.3 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01746, allocations: 33.7 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.01755, allocations: 179.1 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.01758, allocations: 19.83 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.01763, allocations: 43.3 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01777, allocations: 0.504 MB / 280.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.0178, allocations: 8.359 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.01787, allocations: 84.38 kB / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.01794, allocations: 55 kB / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01794, allocations: 0 / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001417/0.01809, allocations: 97.47 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.0181, allocations: 8 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.0181, allocations: 0 / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01812, allocations: 3.938 kB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.0182, allocations: 16.09 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.01821, allocations: 7.984 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.01825, allocations: 0 / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.01826, allocations: 4 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.871e-05/0.01835, allocations: 165.2 kB / 281.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.01843, allocations: 77.44 kB / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.01859, allocations: 103.5 kB / 281.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.0186, allocations: 4 kB / 281.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.0186, allocations: 8 kB / 281.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.0186, allocations: 0 / 281.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.01878, allocations: 196.5 kB / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.01878, allocations: 4.312 kB / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.01884, allocations: 19.98 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01884, allocations: 0 / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01885, allocations: 4 kB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01885, allocations: 0 / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01885, allocations: 4 kB / 281.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.01905, allocations: 203.1 kB / 281.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.01912, allocations: 39.78 kB / 281.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.01915, allocations: 8 kB / 281.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.01919, allocations: 7.984 kB / 281.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.01924, allocations: 11.98 kB / 281.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01925, allocations: 4 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.01941, allocations: 227 kB / 282 MB, free: 8.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01941, allocations: 0 / 282 MB, free: 8.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.01968, allocations: 31.94 kB / 282 MB, free: 8.016 MB / 266.7 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.001011/0.02069, allocations: 414.9 kB / 282.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.02081, allocations: 55.59 kB / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.02082, allocations: 0 / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.02086, allocations: 47.72 kB / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.02113, allocations: 75.78 kB / 282.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.02151, allocations: 357.3 kB / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.02156, allocations: 87.97 kB / 283 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.02161, allocations: 21.47 kB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.02165, allocations: 20.75 kB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02165, allocations: 4 kB / 283.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of Templates: time 0.004765/0.02642, allocations: 3.247 MB / 286.3 MB, free: 3.82 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9311397070996463]