Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 116 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 181.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2653, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002746/0.2681, allocations: 1.431 MB / 402.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.2684, allocations: 99.69 kB / 402.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.2685, allocations: 3.938 kB / 402.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.2686, allocations: 3.984 kB / 402.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.2686, allocations: 3.938 kB / 402.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2689, allocations: 23.91 kB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.296e-05/0.269, allocations: 20 kB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2691, allocations: 19.92 kB / 403 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.2691, allocations: 3.938 kB / 403 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.2692, allocations: 19.91 kB / 403 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2692, allocations: 4 kB / 403 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.2692, allocations: 0 / 403 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.2693, allocations: 8 kB / 403 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.2693, allocations: 11.88 kB / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.2694, allocations: 27.91 kB / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2694, allocations: 0 / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2694, allocations: 4 kB / 403.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2694, allocations: 0 / 403.1 MB, free: 7.16 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004473/0.2699, allocations: 339.1 kB / 403.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2699, allocations: 11.89 kB / 403.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.27, allocations: 4.938 kB / 403.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2702, allocations: 180.3 kB / 403.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2702, allocations: 384 / 403.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2703, allocations: 4.375 kB / 403.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.2705, allocations: 103.9 kB / 403.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2706, allocations: 4.125 kB / 403.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2706, allocations: 3.938 kB / 403.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2706, allocations: 0 / 403.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.2707, allocations: 12 kB / 403.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.2708, allocations: 161.7 kB / 403.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2709, allocations: 50.55 kB / 403.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.271, allocations: 20.92 kB / 404 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.271, allocations: 0 / 404 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2711, allocations: 34.56 kB / 404 MB, free: 6.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2711, allocations: 3.938 kB / 404 MB, free: 6.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001878/0.2713, allocations: 65.62 kB / 404.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.2713, allocations: 51.41 kB / 404.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.2714, allocations: 105.8 kB / 404.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2714, allocations: 25.7 kB / 404.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.2714, allocations: 88.08 kB / 404.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.2715, allocations: 0 / 404.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.2715, allocations: 17.7 kB / 404.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2716, allocations: 314.8 kB / 404.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.2716, allocations: 11.94 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.2717, allocations: 31.42 kB / 404.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.2717, allocations: 31.38 kB / 404.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2717, allocations: 4 kB / 404.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.856e-05/0.2718, allocations: 65.47 kB / 404.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2718, allocations: 4 kB / 404.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2718, allocations: 0 / 404.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2719, allocations: 7.938 kB / 404.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.2719, allocations: 256 / 404.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/0.2719, allocations: 4 kB / 404.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.272, allocations: 5.406 kB / 404.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.272, allocations: 4.125 kB / 404.8 MB, free: 5.176 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.607e-05/0.272, allocations: 113.8 kB / 404.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.2721, allocations: 4 kB / 404.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2721, allocations: 11.42 kB / 404.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2721, allocations: 0 / 404.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2721, allocations: 0 / 404.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.2721, allocations: 88.89 kB / 405 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2722, allocations: 4 kB / 405 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.2722, allocations: 0 / 405 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-06/0.2722, allocations: 0 / 405 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001322/0.2723, allocations: 137 kB / 405.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001758/0.2725, allocations: 222.8 kB / 405.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.133e-05/0.2726, allocations: 19.92 kB / 405.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.277e-05/0.2726, allocations: 83.28 kB / 405.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of Backend: time 3.8e-07/0.2727, allocations: 0 / 405.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.273, allocations: 92.45 kB / 405.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003724/0.2734, allocations: 0.5531 MB / 406.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of Templates: time 0.001987/0.2754, allocations: 312.8 kB / 406.4 MB, free: 3.445 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1)