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.Hold.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.0013/0.0013, allocations: 114.5 kB / 21.18 MB, free: 0.7305 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.001476/0.001476, allocations: 206.1 kB / 24.48 MB, free: 4.125 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.453/1.453, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [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.002055/0.002055, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2667, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003424/0.2702, allocations: 1.938 MB / 434 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.2723, allocations: 1.247 MB / 435.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2724, allocations: 8 kB / 435.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.273, allocations: 161.8 kB / 435.4 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.2734, allocations: 155.4 kB / 435.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.2738, allocations: 175.4 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.2741, allocations: 191.4 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2742, allocations: 25.67 kB / 435.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2743, allocations: 87.62 kB / 436 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2744, allocations: 83.55 kB / 436.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.2745, allocations: 12 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.2746, allocations: 55.97 kB / 436.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.2747, allocations: 47.77 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.2748, allocations: 75.48 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.2751, allocations: 221 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2751, allocations: 0 / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2751, allocations: 0 / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.2751, allocations: 0 / 436.5 MB, free: 2.898 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.0008004/0.2759, allocations: 0.531 MB / 437 MB, free: 2.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.276, allocations: 8.031 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.276, allocations: 24.8 kB / 437.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.2764, allocations: 274.9 kB / 437.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2764, allocations: 4.375 kB / 437.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.2764, allocations: 16.12 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.2768, allocations: 163.5 kB / 437.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2768, allocations: 0 / 437.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2768, allocations: 8 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2768, allocations: 0 / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2769, allocations: 39.92 kB / 437.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.2774, allocations: 438.6 kB / 438 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.2777, allocations: 138.5 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.2778, allocations: 51.42 kB / 438.2 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.2779, allocations: 8 kB / 438.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.278, allocations: 93.03 kB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.278, allocations: 0 / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003903/0.2784, allocations: 165.7 kB / 438.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.2785, allocations: 158.2 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.2788, allocations: 276.9 kB / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2789, allocations: 33.69 kB / 438.9 MB, free: 208 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.279, allocations: 120.5 kB / 439 MB, free: 80 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.279, allocations: 15.91 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.279, allocations: 37.66 kB / 439.1 MB, free: 20 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2792, allocations: 330.8 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.2793, allocations: 28.02 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2794, allocations: 81.97 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.2796, allocations: 101 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2796, allocations: 0 / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002449/0.2798, allocations: 125.5 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2798, allocations: 4 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2798, allocations: 8.156 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2798, allocations: 0 / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.2799, allocations: 15.94 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2799, allocations: 3.938 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.28, allocations: 19.88 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.28, allocations: 7.938 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.00014/0.2802, allocations: 145.8 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.2802, allocations: 23.86 kB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.2804, allocations: 111.3 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2804, allocations: 4 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2804, allocations: 0 / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.2805, allocations: 105 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2806, allocations: 12.31 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.2806, allocations: 4 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2807, allocations: 11.98 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003849/0.2811, allocations: 430.7 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004206/0.2815, allocations: 0.5238 MB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.399e-05/0.2816, allocations: 48 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.2818, allocations: 200.5 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Backend: time 4.61e-07/0.2818, allocations: 0 / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.2839, allocations: 452.9 kB / 441.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009039/0.2848, allocations: 0.7787 MB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of Templates: time 0.006712/0.2915, allocations: 2.727 MB / 445.3 MB, free: 9.789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.262079803738743] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 0.2999559692107141 0.313950118 0.035823701 Calling exit ...