Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001881/0.001881, allocations: 110.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002387/0.002388, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003472/0.2751, allocations: 1.917 MB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2771, allocations: 1.22 MB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2773, allocations: 7.938 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.2779, allocations: 143.5 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.2783, allocations: 163.4 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2787, allocations: 167.4 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.279, allocations: 199.4 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2791, allocations: 33.66 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2792, allocations: 79.7 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2794, allocations: 79.61 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.2794, allocations: 8 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.2795, allocations: 67.89 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.2796, allocations: 43.84 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.2797, allocations: 75.48 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.28, allocations: 219 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.28, allocations: 0 / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.28, allocations: 0 / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.28, allocations: 0 / 414.3 MB, free: 13.17 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.0007443/0.2808, allocations: 0.5209 MB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2808, allocations: 8.031 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.2809, allocations: 20.66 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.2813, allocations: 278.8 kB / 415.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.2813, allocations: 8.375 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.2813, allocations: 8.125 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.2817, allocations: 163.6 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2817, allocations: 3.984 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2817, allocations: 7.938 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2817, allocations: 0 / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.2819, allocations: 39.92 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.2824, allocations: 454.4 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.2827, allocations: 138.5 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.2828, allocations: 59.3 kB / 416 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.2828, allocations: 12.05 kB / 416 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.283, allocations: 89.11 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.283, allocations: 0 / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003757/0.2834, allocations: 157.2 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.2835, allocations: 166.6 kB / 416.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.2837, allocations: 269 kB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2838, allocations: 29.7 kB / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.2838, allocations: 116.4 kB / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.2839, allocations: 19.8 kB / 416.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.2839, allocations: 37.61 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2841, allocations: 330.8 kB / 417.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.2841, allocations: 31.92 kB / 417.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.2842, allocations: 78.61 kB / 417.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2844, allocations: 97.11 kB / 417.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2844, allocations: 0 / 417.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002224/0.2846, allocations: 125.4 kB / 417.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2846, allocations: 4 kB / 417.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2847, allocations: 7.984 kB / 417.5 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2847, allocations: 160 / 417.5 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.2848, allocations: 19.94 kB / 417.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2848, allocations: 4 kB / 417.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.2849, allocations: 15.83 kB / 417.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2849, allocations: 7.938 kB / 417.6 MB, free: 9.523 MB / 334.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.0001217/0.285, allocations: 149.8 kB / 417.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2851, allocations: 19.81 kB / 417.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.2851, allocations: 25.7 kB / 417.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2851, allocations: 7.938 kB / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2851, allocations: 0 / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/0.2852, allocations: 108.8 kB / 417.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.2853, allocations: 15.86 kB / 417.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.2853, allocations: 4 kB / 417.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.2854, allocations: 4 kB / 417.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003693/0.2858, allocations: 434.7 kB / 418.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003384/0.2861, allocations: 0.5161 MB / 418.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.016e-05/0.2862, allocations: 52.06 kB / 418.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.2864, allocations: 204.4 kB / 419.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2864, allocations: 0 / 419.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.288, allocations: 448.5 kB / 419.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008274/0.2888, allocations: 0.7852 MB / 420.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of Templates: time 0.006083/0.2949, allocations: 2.688 MB / 423 MB, free: 4.148 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1)