Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 102.4 kB / 17.74 MB, free: 5.344 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.001735/0.001735, allocations: 189.3 kB / 18.68 MB, free: 4.414 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.479/1.479, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3465, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003086/0.3497, allocations: 1.439 MB / 402.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003159/0.35, allocations: 99.62 kB / 402.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.3501, allocations: 0 / 402.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.3502, allocations: 0 / 402.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.3502, allocations: 11.94 kB / 403 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3505, allocations: 19.91 kB / 403 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.3506, allocations: 27.92 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3507, allocations: 8 kB / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.3507, allocations: 19.91 kB / 403 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.3508, allocations: 7.938 kB / 403 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3508, allocations: 0 / 403 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.3508, allocations: 4 kB / 403 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.3509, allocations: 7.938 kB / 403 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.3509, allocations: 15.92 kB / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.351, allocations: 31.84 kB / 403.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.351, allocations: 0 / 403.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.351, allocations: 0 / 403.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.351, 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.0004623/0.3515, allocations: 347.2 kB / 403.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3516, allocations: 15.89 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.3516, allocations: 0.9375 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3519, allocations: 184.2 kB / 403.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3519, allocations: 8.375 kB / 403.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3519, allocations: 4.375 kB / 403.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.3522, allocations: 99.88 kB / 403.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3522, allocations: 192 / 403.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3522, allocations: 3.938 kB / 403.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3523, allocations: 4 kB / 403.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/0.3523, allocations: 19.98 kB / 403.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.3525, allocations: 157.7 kB / 403.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.3526, allocations: 54.5 kB / 404 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3527, allocations: 28.86 kB / 404 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3527, allocations: 0 / 404 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3527, allocations: 34.56 kB / 404 MB, free: 6.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3528, allocations: 0 / 404 MB, free: 6.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002167/0.353, allocations: 73.56 kB / 404.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.353, allocations: 55.39 kB / 404.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.3531, allocations: 105.9 kB / 404.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3531, allocations: 29.7 kB / 404.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.3532, allocations: 92.06 kB / 404.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.3532, allocations: 4 kB / 404.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.3532, allocations: 17.72 kB / 404.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.3533, allocations: 310.8 kB / 404.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.3533, allocations: 11.98 kB / 404.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.3534, allocations: 23.62 kB / 404.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.3534, allocations: 35.38 kB / 404.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3534, allocations: 0 / 404.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.233e-05/0.3535, allocations: 53.72 kB / 404.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3535, allocations: 8 kB / 404.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3535, allocations: 3.984 kB / 404.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3536, allocations: 8.062 kB / 404.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.3536, allocations: 8 kB / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3536, allocations: 4.188 kB / 404.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.3537, allocations: 4 kB / 404.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.3537, allocations: 4 kB / 404.9 MB, free: 5.133 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.704e-05/0.3538, allocations: 117.8 kB / 405 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.3538, allocations: 7.891 kB / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.3538, allocations: 15.84 kB / 405 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3538, allocations: 0 / 405 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3538, allocations: 4 kB / 405 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.3539, allocations: 77.11 kB / 405.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.3539, allocations: 0 / 405.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.3539, allocations: 7.984 kB / 405.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-06/0.3539, allocations: 0 / 405.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001465/0.3541, allocations: 137 kB / 405.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001713/0.3543, allocations: 238.6 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.582e-05/0.3543, allocations: 12 kB / 405.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.67e-05/0.3544, allocations: 91.2 kB / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of Backend: time 4.01e-07/0.3544, allocations: 0 / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.3547, allocations: 90.33 kB / 405.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004402/0.3552, allocations: 0.5531 MB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of Templates: time 0.002531/0.3577, allocations: 316.8 kB / 406.5 MB, free: 3.375 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)