Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 187 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 47.91 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2631, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003817/0.2669, allocations: 1.902 MB / 425.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2689, allocations: 1.025 MB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2691, allocations: 7.938 kB / 426.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.2697, allocations: 159.5 kB / 426.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.2701, allocations: 115.5 kB / 427 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.2707, allocations: 201.7 kB / 427.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.271, allocations: 203.3 kB / 427.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2712, allocations: 25.59 kB / 427.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2713, allocations: 87.56 kB / 427.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.2715, allocations: 79.67 kB / 427.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2715, allocations: 8 kB / 427.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.2716, allocations: 55.97 kB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.2717, allocations: 51.77 kB / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.2718, allocations: 55.61 kB / 427.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.2722, allocations: 217.9 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2722, allocations: 0 / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2722, allocations: 4 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2722, allocations: 0 / 428 MB, free: 10.27 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.0008332/0.273, allocations: 462.6 kB / 428.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2731, allocations: 8.031 kB / 428.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.2731, allocations: 24.8 kB / 428.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.2735, allocations: 209.2 kB / 428.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2735, allocations: 8.375 kB / 428.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2736, allocations: 16.06 kB / 428.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.2739, allocations: 169.9 kB / 428.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.274, allocations: 0 / 428.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.274, allocations: 0 / 428.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.274, allocations: 4 kB / 428.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2741, allocations: 43.91 kB / 428.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.2746, allocations: 307 kB / 429.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.2749, allocations: 134.5 kB / 429.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.275, allocations: 51.42 kB / 429.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.275, allocations: 7.984 kB / 429.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.2752, allocations: 79.27 kB / 429.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.2752, allocations: 0 / 429.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004372/0.2756, allocations: 169.7 kB / 429.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.2757, allocations: 136.5 kB / 429.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.276, allocations: 269.1 kB / 430 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2761, allocations: 25.7 kB / 430.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2762, allocations: 120.4 kB / 430.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.2762, allocations: 19.84 kB / 430.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.2762, allocations: 37.66 kB / 430.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2764, allocations: 330.8 kB / 430.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.2765, allocations: 23.98 kB / 430.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2766, allocations: 108.5 kB / 430.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.2768, allocations: 102.2 kB / 430.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2768, allocations: 0 / 430.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002594/0.2771, allocations: 129.6 kB / 430.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2771, allocations: 11.97 kB / 430.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2771, allocations: 4 kB / 430.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2771, allocations: 3.984 kB / 430.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.2772, allocations: 19.92 kB / 431 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.2772, allocations: 4 kB / 431 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.2773, allocations: 7.953 kB / 431 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2773, allocations: 8 kB / 431 MB, free: 6.965 MB / 334.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.0001517/0.2774, allocations: 146.5 kB / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.2776, allocations: 85.48 kB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.2778, allocations: 111.4 kB / 431.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2778, allocations: 4 kB / 431.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2778, allocations: 0 / 431.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.2779, allocations: 7.984 kB / 431.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.278, allocations: 161.2 kB / 431.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.278, allocations: 0 / 431.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.2781, allocations: 15.92 kB / 431.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2781, allocations: 0 / 431.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2781, allocations: 8 kB / 431.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2781, allocations: 4.094 kB / 431.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2781, allocations: 4 kB / 431.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2784, allocations: 183.3 kB / 431.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.2785, allocations: 31.89 kB / 431.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.2785, allocations: 12.05 kB / 431.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.2786, allocations: 0 / 431.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.2786, allocations: 11.98 kB / 431.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.2787, allocations: 4 kB / 431.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.2789, allocations: 200.5 kB / 431.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2789, allocations: 0 / 431.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2792, allocations: 39.89 kB / 432 MB, free: 5.875 MB / 334.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.001677/0.2808, allocations: 449.6 kB / 432.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2811, allocations: 83.78 kB / 432.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2811, allocations: 0 / 432.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.2811, allocations: 23.98 kB / 432.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2816, allocations: 76.88 kB / 432.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.2823, allocations: 371.2 kB / 433 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2824, allocations: 119.5 kB / 433.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.2825, allocations: 31.36 kB / 433.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2825, allocations: 4.219 kB / 433.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of Templates: time 0.00581/0.2883, allocations: 2.835 MB / 436 MB, free: 2.039 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.496035645250231]