Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001283/0.001283, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001439/0.001439, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2377, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003413/0.2411, allocations: 1.899 MB / 434.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2433, allocations: 1.247 MB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2434, allocations: 3.938 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.2437, allocations: 67.67 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.2441, allocations: 139.4 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.2447, allocations: 234.9 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.245, allocations: 191.5 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2452, allocations: 24.75 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2453, allocations: 91.62 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2455, allocations: 87.61 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.2455, allocations: 8 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.2457, allocations: 79.88 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2458, allocations: 59.77 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.2459, allocations: 59.61 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.2463, allocations: 258.5 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2463, allocations: 0 / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2463, allocations: 0 / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2463, allocations: 3.938 kB / 436.8 MB, free: 2.266 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.0008057/0.2471, allocations: 482.5 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2472, allocations: 8.031 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.2472, allocations: 28.78 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.2477, allocations: 250.5 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.2477, allocations: 12.31 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.2477, allocations: 12.12 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.2481, allocations: 196.2 kB / 437.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.2481, allocations: 0 / 437.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.2482, allocations: 8 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2482, allocations: 4 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.2483, allocations: 43.91 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.2488, allocations: 334.8 kB / 438.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.2491, allocations: 138.5 kB / 438.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2492, allocations: 59.41 kB / 438.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2493, allocations: 11.94 kB / 438.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.2494, allocations: 75.38 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.2494, allocations: 0 / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004794/0.2499, allocations: 185.3 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.25, allocations: 154.2 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.2504, allocations: 348.2 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2504, allocations: 29.7 kB / 439.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2505, allocations: 128.4 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2505, allocations: 20.34 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.2506, allocations: 41.66 kB / 439.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2508, allocations: 342.8 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.2508, allocations: 23.98 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.251, allocations: 155 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.2512, allocations: 97.94 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2512, allocations: 8.031 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002816/0.2515, allocations: 141.3 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2515, allocations: 8 kB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2515, allocations: 0 / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2515, allocations: 4 kB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2517, allocations: 19.98 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2517, allocations: 7.938 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.211e-05/0.2518, allocations: 16.12 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2518, allocations: 4 kB / 440.1 MB, free: 14.6 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.0001639/0.2519, allocations: 162.5 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.252, allocations: 27.81 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.2523, allocations: 127.4 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2523, allocations: 7.938 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2523, allocations: 3.938 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2524, allocations: 47.81 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.2524, allocations: 3.938 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.2525, allocations: 12.31 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2525, allocations: 7.984 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004374/0.253, allocations: 442.7 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004614/0.2534, allocations: 0.5472 MB / 441.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001263/0.2536, allocations: 51.95 kB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.2538, allocations: 259 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Backend: time 4.21e-07/0.2538, allocations: 8.094 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.2562, allocations: 493.4 kB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of SimCode: time 0.001009/0.2572, allocations: 0.8363 MB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Templates: time 0.008083/0.2653, allocations: 3.557 MB / 446.6 MB, free: 8.188 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.320991080006934] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 0.2737787349979044 0.29527401899999994 0.044821882 Calling exit ...