Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001527/0.001527, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001826/0.001826, allocations: 208.2 kB / 24.48 MB, free: 3.977 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 2.075/2.075, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4596, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004333/0.4639, allocations: 1.911 MB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.4667, allocations: 1.177 MB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.4669, allocations: 7.938 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.4676, allocations: 159.5 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.4682, allocations: 163.3 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006206/0.4688, allocations: 171.5 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.4691, allocations: 203.4 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.4693, allocations: 29.53 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.4694, allocations: 87.62 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.4696, allocations: 83.61 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.4696, allocations: 12 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.4698, allocations: 59.97 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.4699, allocations: 47.77 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.47, allocations: 55.61 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.4704, allocations: 221.9 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4704, allocations: 0 / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4704, allocations: 0 / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4704, allocations: 7.938 kB / 436.7 MB, free: 2.371 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.0009305/0.4713, allocations: 462.6 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4714, allocations: 15.97 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.4714, allocations: 20.8 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.4719, allocations: 229 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.4719, allocations: 4.375 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.4719, allocations: 12.12 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.4724, allocations: 162.7 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4724, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.4724, allocations: 4 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.4724, allocations: 7.984 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.4725, allocations: 39.92 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.4731, allocations: 306.8 kB / 437.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.4734, allocations: 130.5 kB / 438.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.4736, allocations: 59.41 kB / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4736, allocations: 0 / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.4738, allocations: 79.33 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.4738, allocations: 0 / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004931/0.4743, allocations: 169.9 kB / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4744, allocations: 140.6 kB / 438.5 MB, free: 356 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.4748, allocations: 281.9 kB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.4748, allocations: 25.7 kB / 438.8 MB, free: 32 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.4749, allocations: 128.4 kB / 438.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.475, allocations: 15.97 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.475, allocations: 29.72 kB / 439 MB, free: 15.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4752, allocations: 338.8 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.4753, allocations: 23.98 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.4755, allocations: 115.5 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.4757, allocations: 102 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4757, allocations: 0 / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003055/0.476, allocations: 137.3 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.476, allocations: 12.19 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.476, allocations: 0 / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.476, allocations: 4 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.4761, allocations: 12 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4761, allocations: 3.938 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/0.4762, allocations: 11.92 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.4762, allocations: 8 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.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 (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.0001612/0.4764, allocations: 150.5 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.4765, allocations: 81.52 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.4768, allocations: 111.4 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4768, allocations: 4 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4768, allocations: 0 / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4769, allocations: 0 / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.4771, allocations: 173.1 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4771, allocations: 0 / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.4771, allocations: 15.92 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4771, allocations: 0 / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4771, allocations: 8 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4772, allocations: 4.125 kB / 440.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4772, allocations: 8 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.4775, allocations: 183.3 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4776, allocations: 43.75 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.4777, allocations: 7.984 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.4778, allocations: 8 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.4778, allocations: 7.984 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4778, allocations: 4 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.4781, allocations: 205.2 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4781, allocations: 0 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.4785, allocations: 35.95 kB / 440.7 MB, free: 13.92 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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.001873/0.4804, allocations: 445.4 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.4806, allocations: 83.78 kB / 441.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4806, allocations: 0 / 441.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.4807, allocations: 23.98 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.4813, allocations: 87.2 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.4821, allocations: 349.7 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.4823, allocations: 127.6 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.4824, allocations: 25.62 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.4824, allocations: 19.44 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4824, allocations: 0 / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.009108/0.4915, allocations: 3.008 MB / 444.9 MB, free: 9.961 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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: 6.809300691995304]