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.001478/0.001478, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001791/0.001791, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3116, allocations: 50.55 MB / 409.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003362/0.315, allocations: 1.914 MB / 411.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.317, allocations: 1.212 MB / 413.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3171, allocations: 7.938 kB / 413.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.3178, allocations: 151.5 kB / 413.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.3182, allocations: 151.4 kB / 413.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.3186, allocations: 182.9 kB / 413.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.3189, allocations: 199.4 kB / 413.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.319, allocations: 33.67 kB / 413.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3191, allocations: 79.69 kB / 413.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3192, allocations: 79.61 kB / 413.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3193, allocations: 11.94 kB / 413.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.3194, allocations: 47.98 kB / 414 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3195, allocations: 51.81 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.3196, allocations: 75.48 kB / 414.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.3199, allocations: 223.1 kB / 414.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3199, allocations: 0 / 414.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3199, allocations: 4 kB / 414.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.3199, allocations: 0 / 414.3 MB, free: 13.34 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.0007128/0.3206, allocations: 0.517 MB / 414.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3207, allocations: 8.031 kB / 414.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.3207, allocations: 24.66 kB / 414.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3211, allocations: 270.8 kB / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3211, allocations: 12.36 kB / 415.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3211, allocations: 12.12 kB / 415.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.3214, allocations: 155.6 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3214, allocations: 0 / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3215, allocations: 19.97 kB / 415.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3215, allocations: 3.938 kB / 415.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.3216, allocations: 35.92 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.3221, allocations: 446.5 kB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3223, allocations: 142.5 kB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.3224, allocations: 55.36 kB / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3225, allocations: 11.98 kB / 416 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3226, allocations: 85.11 kB / 416.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3226, allocations: 0 / 416.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003595/0.323, allocations: 161.2 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.3231, allocations: 158.2 kB / 416.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.3233, allocations: 276.9 kB / 416.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3234, allocations: 25.7 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.3235, allocations: 124.5 kB / 416.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3235, allocations: 19.8 kB / 416.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.3235, allocations: 41.92 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.3236, allocations: 334.8 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.3237, allocations: 23.98 kB / 417.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.3238, allocations: 70.86 kB / 417.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.324, allocations: 97.36 kB / 417.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.324, allocations: 0 / 417.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002173/0.3242, allocations: 125.5 kB / 417.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3242, allocations: 11 kB / 417.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3242, allocations: 4 kB / 417.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3243, allocations: 3.984 kB / 417.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.3244, allocations: 15.94 kB / 417.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3244, allocations: 7.984 kB / 417.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.3244, allocations: 15.84 kB / 417.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3245, allocations: 11.92 kB / 417.6 MB, free: 9.699 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.0001212/0.3246, allocations: 145.8 kB / 417.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.3246, allocations: 27.75 kB / 417.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.3247, allocations: 25.7 kB / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3247, allocations: 0 / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3247, allocations: 0 / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.3248, allocations: 116.8 kB / 417.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3249, allocations: 7.922 kB / 417.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3249, allocations: 11.94 kB / 417.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.325, allocations: 4 kB / 417.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003252/0.3253, allocations: 434.6 kB / 418.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003545/0.3257, allocations: 0.5161 MB / 418.9 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.937e-05/0.3258, allocations: 43.91 kB / 418.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.326, allocations: 204.5 kB / 419.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.326, allocations: 0 / 419.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.3275, allocations: 447.4 kB / 419.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007984/0.3283, allocations: 0.7914 MB / 420.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of Templates: time 0.006323/0.3347, allocations: 2.685 MB / 423 MB, free: 4.328 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)