Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001557/0.001557, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001721/0.001721, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.436/1.436, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [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.002025/0.002025, allocations: 75.81 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2428, allocations: 53.3 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003486/0.2463, allocations: 1.94 MB / 434 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2484, allocations: 1.234 MB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2485, allocations: 7.938 kB / 435.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.2491, allocations: 154.4 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.2495, allocations: 147.4 kB / 435.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.2499, allocations: 175.4 kB / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.2502, allocations: 187.5 kB / 435.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2503, allocations: 25.55 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2504, allocations: 75.69 kB / 436 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2505, allocations: 79.56 kB / 436.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2506, allocations: 12 kB / 436.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.2507, allocations: 55.95 kB / 436.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.2508, allocations: 43.84 kB / 436.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.2508, allocations: 71.48 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.2512, allocations: 216.7 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2512, allocations: 4 kB / 436.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2512, allocations: 0 / 436.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2512, allocations: 0 / 436.4 MB, free: 2.949 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007804/0.2519, allocations: 0.5155 MB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.252, allocations: 12.03 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.252, allocations: 20.8 kB / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.2524, allocations: 278.9 kB / 437.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2524, allocations: 8.375 kB / 437.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.2524, allocations: 12.12 kB / 437.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.2528, allocations: 145.7 kB / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2528, allocations: 0 / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2528, allocations: 4 kB / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2528, allocations: 4 kB / 437.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.2529, allocations: 31.92 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.2534, allocations: 366.4 kB / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.2536, allocations: 107.8 kB / 437.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.2537, allocations: 42.56 kB / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2537, allocations: 0 / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.2539, allocations: 79.39 kB / 438 MB, free: 1.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2539, allocations: 0 / 438 MB, free: 1.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000373/0.2543, allocations: 145.4 kB / 438.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.2543, allocations: 132.5 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.2547, allocations: 272.9 kB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2547, allocations: 29.94 kB / 438.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.2548, allocations: 120.1 kB / 438.7 MB, free: 396 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.2548, allocations: 19.97 kB / 438.8 MB, free: 376 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.2548, allocations: 33.66 kB / 438.8 MB, free: 336 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.255, allocations: 334.8 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.2551, allocations: 15.98 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2552, allocations: 74 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2553, allocations: 72.22 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2553, allocations: 0 / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.2555, allocations: 121.5 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2555, allocations: 7.938 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2555, allocations: 0 / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2556, allocations: 4 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.2556, allocations: 11.94 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2556, allocations: 7.984 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.2557, allocations: 8 kB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2557, allocations: 7.938 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.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 (11): * Single equations (assignments): 11 * 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.0001327/0.2559, allocations: 150.4 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.2559, allocations: 19.86 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.2561, allocations: 111.6 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2561, allocations: 0 / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.2562, allocations: 12.05 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.2563, allocations: 108.9 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.2563, allocations: 3.938 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.2564, allocations: 8 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.2564, allocations: 7.984 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003487/0.2567, allocations: 339.4 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003738/0.2571, allocations: 445.1 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.517e-05/0.2572, allocations: 43.97 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.2574, allocations: 200.5 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Backend: time 4.3e-07/0.2574, allocations: 0 / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.2594, allocations: 442.7 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008639/0.2602, allocations: 0.7743 MB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.006376/0.2666, allocations: 2.616 MB / 444.7 MB, free: 10.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.2714801877737045] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 0.27447993913665414 0.288576612 0.034409379000000004 Calling exit ...