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.SampleClocked.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.001905/0.001905, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001616/0.001616, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.437/1.437, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [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.001902/0.001902, allocations: 75.8 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.266, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00282/0.2688, allocations: 1.522 MB / 433.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.2692, allocations: 135.5 kB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.2693, allocations: 4 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.2693, allocations: 3.938 kB / 433.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2694, allocations: 7.922 kB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.2696, allocations: 35.91 kB / 433.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.571e-05/0.2697, allocations: 23.92 kB / 433.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.2698, allocations: 8 kB / 433.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.2698, allocations: 15.92 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.2699, allocations: 11.94 kB / 433.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.2699, allocations: 0 / 433.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-06/0.2699, allocations: 4 kB / 433.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.2699, allocations: 19.91 kB / 433.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.27, allocations: 19.81 kB / 433.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.718e-05/0.2701, allocations: 39.62 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2701, allocations: 0 / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2701, allocations: 7.938 kB / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2701, allocations: 0 / 433.9 MB, free: 5.535 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004562/0.2705, allocations: 365.3 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2706, allocations: 12.03 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.2706, allocations: 8.891 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.2708, allocations: 184.2 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2709, allocations: 4.375 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.2709, allocations: 4.375 kB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.2711, allocations: 93.61 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2711, allocations: 192 / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2711, allocations: 3.938 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2711, allocations: 0 / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.2712, allocations: 19.92 kB / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.2715, allocations: 249.8 kB / 434.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.2716, allocations: 53.14 kB / 434.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.2716, allocations: 17.72 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.2716, allocations: 0 / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2717, allocations: 34.56 kB / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2717, allocations: 0 / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002102/0.2719, allocations: 65.58 kB / 435 MB, free: 4.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2719, allocations: 77.11 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.272, allocations: 132.6 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2721, allocations: 25.7 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.2721, allocations: 84.12 kB / 435.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.2721, allocations: 7.953 kB / 435.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.2722, allocations: 13.72 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2723, allocations: 319.1 kB / 435.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.2723, allocations: 11.98 kB / 435.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.2724, allocations: 17.66 kB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.2724, allocations: 21.66 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2724, allocations: 0 / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.298e-05/0.2725, allocations: 53.69 kB / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2725, allocations: 6.812 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.2725, allocations: 0 / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2725, allocations: 3.938 kB / 435.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-05/0.2726, allocations: 7.984 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2726, allocations: 0 / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.2726, allocations: 4 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.2726, allocations: 3.938 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.y,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.377e-05/0.2727, allocations: 117.9 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.2727, allocations: 7.891 kB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.2727, allocations: 19.47 kB / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2727, allocations: 0 / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2727, allocations: 0 / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.2728, allocations: 89.05 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2728, allocations: 4 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.2729, allocations: 4 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.2729, allocations: 0 / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001673/0.2731, allocations: 212.1 kB / 436.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002021/0.2733, allocations: 294.1 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.987e-05/0.2733, allocations: 15.92 kB / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.2734, allocations: 103.4 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of Backend: time 2.5e-07/0.2734, allocations: 0 / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.2738, allocations: 86.39 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005453/0.2743, allocations: 0.5922 MB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of Templates: time 0.002646/0.277, allocations: 453.8 kB / 437.7 MB, free: 1.336 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1450287899933755] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.2849322520196438 0.299270733 0.026167866 Calling exit ...