Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 110.9 kB / 17.74 MB, free: 5.332 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.001751/0.001751, allocations: 190.6 kB / 18.68 MB, free: 4.402 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.513/1.513, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 43.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3674, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003588/0.3711, allocations: 1.514 MB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005091/0.3716, allocations: 139.5 kB / 403.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3717, allocations: 0 / 403.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.063e-05/0.3718, allocations: 3.938 kB / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.372, allocations: 11.92 kB / 403.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.3723, allocations: 39.86 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3724, allocations: 35.91 kB / 403.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3725, allocations: 11.98 kB / 403.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.3726, allocations: 11.94 kB / 403.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.3727, allocations: 15.86 kB / 403.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3727, allocations: 4 kB / 403.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.3727, allocations: 7.938 kB / 403.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.3728, allocations: 15.92 kB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.3728, allocations: 23.88 kB / 403.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.373, allocations: 51.55 kB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.373, allocations: 0 / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.373, allocations: 0 / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.373, allocations: 0 / 403.3 MB, free: 7.008 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006322/0.3737, allocations: 367.2 kB / 403.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.3737, allocations: 8.031 kB / 403.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.3738, allocations: 8.891 kB / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.3741, allocations: 204.2 kB / 403.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3742, allocations: 384 / 403.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.3742, allocations: 4.375 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.3745, allocations: 109.6 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3745, allocations: 4.188 kB / 404 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3746, allocations: 7.938 kB / 404 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3746, allocations: 0 / 404 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.3747, allocations: 23.92 kB / 404 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.3751, allocations: 261.8 kB / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.3753, allocations: 142.2 kB / 404.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.3754, allocations: 37.75 kB / 404.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3755, allocations: 0 / 404.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3755, allocations: 30.56 kB / 404.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3755, allocations: 0 / 404.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002641/0.3758, allocations: 81.56 kB / 404.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3758, allocations: 81.09 kB / 404.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.376, allocations: 142 kB / 404.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.376, allocations: 25.7 kB / 404.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.3761, allocations: 84.14 kB / 404.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3761, allocations: 4 kB / 404.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.3762, allocations: 25.66 kB / 404.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3763, allocations: 319 kB / 405.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.3764, allocations: 11.98 kB / 405.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.3764, allocations: 27.38 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.3766, allocations: 55.42 kB / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3766, allocations: 0 / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.3767, allocations: 73.42 kB / 405.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3767, allocations: 8 kB / 405.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3768, allocations: 0 / 405.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3768, allocations: 0 / 405.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.3768, allocations: 8 kB / 405.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3769, allocations: 4.125 kB / 405.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.3769, allocations: 7.984 kB / 405.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3769, allocations: 4 kB / 405.4 MB, free: 4.578 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: 4 (sample1.y,assignClock.y,assignClock.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 9.434e-05/0.377, allocations: 113.8 kB / 405.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.3771, allocations: 11.89 kB / 405.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.3771, allocations: 12.23 kB / 405.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3771, allocations: 7.938 kB / 405.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3771, allocations: 0 / 405.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.3772, allocations: 93.05 kB / 405.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3772, allocations: 4 kB / 405.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.3773, allocations: 4 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.3773, allocations: 0 / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000226/0.3776, allocations: 220.1 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002735/0.3779, allocations: 314.1 kB / 406.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.561e-05/0.3779, allocations: 15.98 kB / 406.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.921e-05/0.378, allocations: 106.6 kB / 406.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of Backend: time 4.01e-07/0.378, allocations: 0 / 406.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.3785, allocations: 98.33 kB / 406.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006747/0.3792, allocations: 0.5962 MB / 407 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Templates: time 0.003451/0.3826, allocations: 0.5084 MB / 407.5 MB, free: 2.383 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1)