Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 114.3 kB / 17.75 MB, free: 5.297 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.001988/0.001988, allocations: 189.3 kB / 18.68 MB, free: 4.367 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.519/1.519, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 39.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4504, allocations: 49.45 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003662/0.4542, allocations: 1.475 MB / 402.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.4552, allocations: 403 kB / 403.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.4553, allocations: 0 / 403.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.4554, allocations: 3.938 kB / 403.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.4555, allocations: 15.92 kB / 403.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.4559, allocations: 21.97 kB / 403.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.4561, allocations: 43.8 kB / 403.4 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4562, allocations: 8 kB / 403.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.4563, allocations: 15.98 kB / 403.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.4564, allocations: 19.91 kB / 403.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.4565, allocations: 4 kB / 403.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.4565, allocations: 4 kB / 403.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.4565, allocations: 11.94 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.4566, allocations: 15.92 kB / 403.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4567, allocations: 31.84 kB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4568, allocations: 0 / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4568, allocations: 0 / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4568, allocations: 0 / 403.5 MB, free: 6.812 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.0007703/0.4576, allocations: 363.1 kB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.4576, allocations: 8.031 kB / 403.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.4577, allocations: 4.938 kB / 403.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.4581, allocations: 180.2 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4581, allocations: 4.375 kB / 404 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.4582, allocations: 8.312 kB / 404 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.4587, allocations: 147.6 kB / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4587, allocations: 0 / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4588, allocations: 0 / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4588, allocations: 0 / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.4589, allocations: 39.95 kB / 404.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.4592, allocations: 165.5 kB / 404.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4595, allocations: 82.52 kB / 404.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.4596, allocations: 28.92 kB / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.4596, allocations: 0 / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.4597, allocations: 46.48 kB / 404.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.4597, allocations: 0 / 404.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000403/0.4601, allocations: 97.7 kB / 404.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4602, allocations: 51.41 kB / 404.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4603, allocations: 109.8 kB / 404.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.4603, allocations: 25.7 kB / 404.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.4603, allocations: 84.14 kB / 404.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.4604, allocations: 4 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.4604, allocations: 17.72 kB / 404.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4606, allocations: 314.8 kB / 405.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.4606, allocations: 4 kB / 405.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.4606, allocations: 27.44 kB / 405.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.4607, allocations: 43.36 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4607, allocations: 0 / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.454e-05/0.4608, allocations: 49.64 kB / 405.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4608, allocations: 11.88 kB / 405.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.4608, allocations: 0 / 405.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.4609, allocations: 12.05 kB / 405.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.4609, allocations: 8 kB / 405.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.4609, allocations: 4 kB / 405.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.461, allocations: 3.953 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.461, allocations: 0 / 405.4 MB, free: 4.66 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: 0 () * 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.471e-05/0.4611, allocations: 113.8 kB / 405.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.4611, allocations: 7.938 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.4611, allocations: 7.906 kB / 405.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4612, allocations: 0 / 405.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.4612, allocations: 3.984 kB / 405.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.4612, allocations: 89 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4612, allocations: 4 kB / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.4613, allocations: 0 / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-06/0.4613, allocations: 4 kB / 405.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002865/0.4616, allocations: 156.9 kB / 405.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003249/0.4619, allocations: 258.7 kB / 406 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.481e-05/0.462, allocations: 23.97 kB / 406.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.4621, allocations: 87.28 kB / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of Backend: time 3.91e-07/0.4621, allocations: 0 / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.4625, allocations: 90.52 kB / 406.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of SimCode: time 0.000589/0.4631, allocations: 0.5571 MB / 406.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Templates: time 0.003236/0.4664, allocations: 421.3 kB / 407.2 MB, free: 2.75 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1)