Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001619/0.001619, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001857/0.001857, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.806/1.806, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 51.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1586, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004691/0.1633, allocations: 1.905 MB / 428.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.166, allocations: 1.223 MB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1662, allocations: 7.938 kB / 429.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.167, allocations: 155.5 kB / 430.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.1676, allocations: 155.4 kB / 430.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.1683, allocations: 163.5 kB / 430.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.1686, allocations: 191.5 kB / 430.6 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1688, allocations: 21.55 kB / 430.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1689, allocations: 83.62 kB / 430.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1691, allocations: 75.62 kB / 430.8 MB, free: 312 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1691, allocations: 15.98 kB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.1693, allocations: 51.97 kB / 430.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.1694, allocations: 43.84 kB / 430.9 MB, free: 200 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1695, allocations: 79.41 kB / 431 MB, free: 120 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2995/0.469, allocations: 212.8 kB / 431.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.469, allocations: 0 / 431.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.469, allocations: 0 / 431.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.469, allocations: 0 / 431.2 MB, free: 8.461 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008486/0.4698, allocations: 0.5109 MB / 431.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.4699, allocations: 10.53 kB / 431.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.47, allocations: 23.81 kB / 431.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.4704, allocations: 276.4 kB / 432 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4704, allocations: 8.062 kB / 432 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.4704, allocations: 4.469 kB / 432 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.4708, allocations: 154.8 kB / 432.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4708, allocations: 1.844 kB / 432.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4708, allocations: 0.9688 kB / 432.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4708, allocations: 3.312 kB / 432.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.4709, allocations: 35.47 kB / 432.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.4714, allocations: 357.7 kB / 432.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.4716, allocations: 106.9 kB / 432.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.4717, allocations: 42.73 kB / 432.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4717, allocations: 4.688 kB / 432.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.4719, allocations: 75.94 kB / 432.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.4719, allocations: 0 / 432.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004246/0.4723, allocations: 152 kB / 432.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4724, allocations: 131.7 kB / 433 MB, free: 7.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.4727, allocations: 270.1 kB / 433.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.4727, allocations: 31.48 kB / 433.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.4728, allocations: 113.1 kB / 433.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4728, allocations: 25.2 kB / 433.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.4728, allocations: 29.64 kB / 433.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.4729, allocations: 336.9 kB / 433.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.473, allocations: 27.5 kB / 433.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.4731, allocations: 69.36 kB / 433.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.4732, allocations: 79.66 kB / 434 MB, free: 6.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4732, allocations: 0 / 434 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002192/0.4734, allocations: 116.3 kB / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4734, allocations: 9.953 kB / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4734, allocations: 0 / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4735, allocations: 5.156 kB / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.4735, allocations: 10.61 kB / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.4735, allocations: 5.484 kB / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.4736, allocations: 6.906 kB / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.4736, allocations: 3.312 kB / 434.1 MB, free: 6.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001055/0.4737, allocations: 148.4 kB / 434.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.4738, allocations: 63.77 kB / 434.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.4739, allocations: 24.78 kB / 434.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4739, allocations: 2.531 kB / 434.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.4739, allocations: 4 kB / 434.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4739, allocations: 3.688 kB / 434.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.474, allocations: 236 kB / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.474, allocations: 0 / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.4741, allocations: 10.09 kB / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4741, allocations: 0.875 kB / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4741, allocations: 2.812 kB / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4741, allocations: 0 / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4741, allocations: 0.625 kB / 434.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.4743, allocations: 162 kB / 434.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.4744, allocations: 112.7 kB / 434.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.4744, allocations: 3.031 kB / 434.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.4745, allocations: 9.766 kB / 434.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4745, allocations: 4.875 kB / 434.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4745, allocations: 6.172 kB / 434.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.4747, allocations: 205.9 kB / 435.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4747, allocations: 0 / 435.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.475, allocations: 34 kB / 435.2 MB, free: 5.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001534/0.4765, allocations: 425.8 kB / 435.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4767, allocations: 67.48 kB / 435.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4767, allocations: 256 / 435.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.4768, allocations: 24.39 kB / 435.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4772, allocations: 63 kB / 435.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.4778, allocations: 320.4 kB / 436 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.478, allocations: 0.7355 MB / 436.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.141e-05/0.478, allocations: 17.19 kB / 436.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.4781, allocations: 24.83 kB / 436.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4781, allocations: 0 / 436.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of Templates: time 0.007602/0.4857, allocations: 2.51 MB / 439.3 MB, free: 4.438 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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: 5.609336752444506]