Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001792/0.001792, allocations: 110.5 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 215.8 kB / 24.48 MB, free: 4.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 72.06 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.266, allocations: 53.3 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.00422/0.2702, allocations: 1.973 MB / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.273, allocations: 1.325 MB / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.2732, allocations: 11.94 kB / 435.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.2736, allocations: 67.66 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.2741, allocations: 143.3 kB / 435.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.2749, allocations: 221.7 kB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.2753, allocations: 195.5 kB / 436 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2754, allocations: 21.67 kB / 436 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.2756, allocations: 87.56 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2757, allocations: 87.66 kB / 436.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.2758, allocations: 12 kB / 436.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.276, allocations: 67.95 kB / 436.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2761, allocations: 63.7 kB / 436.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2762, allocations: 79.42 kB / 436.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.2767, allocations: 260.4 kB / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2767, allocations: 0 / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2767, allocations: 0 / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2767, allocations: 4 kB / 436.6 MB, free: 2.77 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.0009664/0.2776, allocations: 0.5542 MB / 437.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.2777, allocations: 8.031 kB / 437.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.2778, allocations: 28.78 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.2783, allocations: 295.8 kB / 437.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2783, allocations: 8.375 kB / 437.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.2783, allocations: 12.12 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.2788, allocations: 184.3 kB / 437.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2788, allocations: 0 / 437.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.2788, allocations: 11.94 kB / 437.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2788, allocations: 4 kB / 437.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.279, allocations: 39.92 kB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006858/0.2797, allocations: 399.1 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.28, allocations: 138.5 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2801, allocations: 59.42 kB / 438.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.2802, allocations: 4 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.2804, allocations: 79.31 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.2804, allocations: 0 / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005151/0.2809, allocations: 177.6 kB / 438.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.2811, allocations: 187.9 kB / 438.8 MB, free: 328 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.2815, allocations: 342.9 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2815, allocations: 29.7 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2816, allocations: 128.4 kB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.2817, allocations: 19.95 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.2818, allocations: 41.66 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.282, allocations: 342.8 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.282, allocations: 23.98 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.2822, allocations: 99.95 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2824, allocations: 113.9 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2824, allocations: 0 / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003059/0.2827, allocations: 141.4 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.2827, allocations: 6.969 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2827, allocations: 4 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.2827, allocations: 0 / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2829, allocations: 27.92 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.2829, allocations: 0 / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.851e-05/0.283, allocations: 11.92 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.283, allocations: 15.94 kB / 440.1 MB, free: 14.91 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,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.0002455/0.2833, allocations: 153.9 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.2833, allocations: 31.81 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.2836, allocations: 115.4 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2836, allocations: 4 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2836, allocations: 0 / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.2838, allocations: 116.9 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.2838, allocations: 7.938 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.2839, allocations: 8 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.284, allocations: 11.98 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000437/0.2844, allocations: 434.8 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004964/0.2849, allocations: 0.5434 MB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001195/0.285, allocations: 47.97 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.2853, allocations: 257.9 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Backend: time 7.02e-07/0.2853, allocations: 0 / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.2876, allocations: 480.3 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 0.001108/0.2887, allocations: 0.8301 MB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Templates: time 0.007979/0.2967, allocations: 3.324 MB / 446.4 MB, free: 8.668 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.53994025522843] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 0.3054100153967738 0.320077958 0.039693327 Calling exit ...