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.001524/0.001524, allocations: 105.2 kB / 17.74 MB, free: 5.336 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.00184/0.00184, allocations: 186.5 kB / 18.67 MB, free: 4.418 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 47.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2976, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002746/0.3004, allocations: 1.43 MB / 402.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.3007, allocations: 103.6 kB / 402.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.3008, allocations: 0 / 402.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.3008, allocations: 3.984 kB / 402.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.3009, allocations: 3.938 kB / 402.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.3011, allocations: 23.92 kB / 403 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.3012, allocations: 23.92 kB / 403 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3013, allocations: 19.98 kB / 403 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.3014, allocations: 7.938 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.3014, allocations: 11.92 kB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.3015, allocations: 4 kB / 403 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.3015, allocations: 0 / 403 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.3015, allocations: 11.94 kB / 403 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.3015, allocations: 11.94 kB / 403.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.3016, allocations: 27.89 kB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3016, allocations: 0 / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3016, allocations: 0 / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.3017, allocations: 4 kB / 403.1 MB, free: 7.184 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.0004377/0.3021, allocations: 340.7 kB / 403.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3021, allocations: 15.83 kB / 403.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.3022, allocations: 4.938 kB / 403.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3024, allocations: 184 kB / 403.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.3024, allocations: 384 / 403.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3025, allocations: 4.375 kB / 403.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.3028, allocations: 111.9 kB / 403.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3028, allocations: 192 / 403.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3028, allocations: 3.938 kB / 403.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3028, allocations: 0 / 403.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.3029, allocations: 23.97 kB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.3031, allocations: 161.6 kB / 403.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3033, allocations: 54.48 kB / 404 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.628e-05/0.3034, allocations: 24.92 kB / 404 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3034, allocations: 0 / 404 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.3034, allocations: 30.56 kB / 404 MB, free: 6.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.935e-06/0.3034, allocations: 4 kB / 404 MB, free: 6.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002535/0.3037, allocations: 81.5 kB / 404.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3037, allocations: 51.41 kB / 404.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3038, allocations: 105.8 kB / 404.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3039, allocations: 25.7 kB / 404.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.3039, allocations: 84.14 kB / 404.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.3039, allocations: 0 / 404.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.304, allocations: 21.66 kB / 404.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3041, allocations: 322.8 kB / 404.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.3042, allocations: 4 kB / 404.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.3042, allocations: 23.44 kB / 404.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.426e-05/0.3043, allocations: 43.36 kB / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3043, allocations: 0 / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.742e-05/0.3044, allocations: 49.64 kB / 404.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3044, allocations: 4 kB / 404.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3044, allocations: 0 / 404.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3044, allocations: 7.938 kB / 404.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.3045, allocations: 7.984 kB / 404.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3045, allocations: 4 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.3045, allocations: 4.125 kB / 404.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3045, allocations: 7.938 kB / 404.9 MB, free: 5.16 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 8.232e-05/0.3046, allocations: 109.8 kB / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.3047, allocations: 7.906 kB / 405 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.3047, allocations: 11.84 kB / 405 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3047, allocations: 256 / 405 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3047, allocations: 0 / 405 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.3048, allocations: 89.09 kB / 405.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3048, allocations: 3.938 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.858e-05/0.3048, allocations: 4 kB / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-06/0.3048, allocations: 0 / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001621/0.305, allocations: 137 kB / 405.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002062/0.3052, allocations: 238.6 kB / 405.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.683e-05/0.3053, allocations: 11.98 kB / 405.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.3053, allocations: 87.28 kB / 405.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of Backend: time 2.41e-07/0.3053, allocations: 0 / 405.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.3057, allocations: 98.27 kB / 405.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of SimCode: time 0.000572/0.3063, allocations: 0.557 MB / 406.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Templates: time 0.002302/0.3086, allocations: 309.2 kB / 406.5 MB, free: 3.406 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)