Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001383/0.001383, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001393/0.001393, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.46/1.46, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 47.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2567, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003604/0.2603, allocations: 1.886 MB / 424.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.2623, allocations: 1.11 MB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2624, allocations: 7.938 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.2627, allocations: 63.61 kB / 426.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.263, allocations: 95.59 kB / 426.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.2636, allocations: 266.7 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.2639, allocations: 179.5 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.264, allocations: 25.67 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2641, allocations: 79.69 kB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2643, allocations: 83.61 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.2643, allocations: 8 kB / 426.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.2645, allocations: 75.94 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.2646, allocations: 55.77 kB / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.2647, allocations: 67.53 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.265, allocations: 253.1 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2651, allocations: 0 / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2651, allocations: 0 / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2651, allocations: 0 / 427.3 MB, free: 10.23 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.0007493/0.2658, allocations: 490.4 kB / 427.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2658, allocations: 12.03 kB / 427.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.2659, allocations: 20.8 kB / 427.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.2663, allocations: 233.5 kB / 428 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2663, allocations: 8.375 kB / 428 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.2663, allocations: 8.125 kB / 428 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.2667, allocations: 205.2 kB / 428.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2667, allocations: 0 / 428.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2667, allocations: 4 kB / 428.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2667, allocations: 4 kB / 428.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.2669, allocations: 47.91 kB / 428.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.2674, allocations: 330.8 kB / 428.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.2677, allocations: 138.5 kB / 428.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2678, allocations: 55.42 kB / 428.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2678, allocations: 7.984 kB / 428.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.2679, allocations: 79.33 kB / 428.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.268, allocations: 4 kB / 428.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004239/0.2684, allocations: 173.6 kB / 429.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.2685, allocations: 166.2 kB / 429.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.2689, allocations: 337.8 kB / 429.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2689, allocations: 25.7 kB / 429.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.269, allocations: 128.5 kB / 429.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.269, allocations: 23.88 kB / 429.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.2691, allocations: 34.09 kB / 429.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2693, allocations: 342.8 kB / 430.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.2693, allocations: 28.05 kB / 430.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2695, allocations: 155 kB / 430.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.2697, allocations: 101.9 kB / 430.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2697, allocations: 0 / 430.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002667/0.27, allocations: 145.4 kB / 430.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.27, allocations: 4 kB / 430.5 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.27, allocations: 4 kB / 430.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.27, allocations: 0 / 430.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2701, allocations: 27.92 kB / 430.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2701, allocations: 0 / 430.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.2702, allocations: 15.88 kB / 430.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.2702, allocations: 12 kB / 430.6 MB, free: 6.594 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,table.y,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.0001709/0.2704, allocations: 158.7 kB / 430.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2705, allocations: 77.48 kB / 430.8 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.2708, allocations: 127.4 kB / 430.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2708, allocations: 0 / 430.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2708, allocations: 7.938 kB / 430.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2708, allocations: 0 / 430.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.271, allocations: 181.2 kB / 431.1 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.271, allocations: 96 / 431.1 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.2711, allocations: 27.92 kB / 431.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2711, allocations: 0 / 431.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2711, allocations: 8.062 kB / 431.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2711, allocations: 4 kB / 431.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2711, allocations: 0 / 431.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.2715, allocations: 191.4 kB / 431.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.2715, allocations: 47.77 kB / 431.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.2716, allocations: 4 kB / 431.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.2717, allocations: 4 kB / 431.4 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.2717, allocations: 15.98 kB / 431.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.2717, allocations: 7.984 kB / 431.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.272, allocations: 249.1 kB / 431.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.272, allocations: 0 / 431.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.2723, allocations: 39.92 kB / 431.7 MB, free: 5.383 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,table.y,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.001619/0.2739, allocations: 446.8 kB / 432.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2741, allocations: 96.08 kB / 432.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2742, allocations: 0 / 432.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.2742, allocations: 27.98 kB / 432.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.2747, allocations: 76.09 kB / 432.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/0.2753, allocations: 394.7 kB / 432.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.2754, allocations: 144.4 kB / 432.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.454e-05/0.2755, allocations: 29.72 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.2756, allocations: 27.42 kB / 432.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2756, allocations: 3.938 kB / 432.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of Templates: time 0.007545/0.2831, allocations: 3.364 MB / 436.3 MB, free: 0.9805 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.573342716321349]