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.001358/0.001358, allocations: 114.3 kB / 17.75 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.001377/0.001377, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 43.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2696, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002558/0.2722, allocations: 1.472 MB / 402.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.2729, allocations: 414.9 kB / 403.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.273, allocations: 0 / 403.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.273, allocations: 7.938 kB / 403.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.2731, allocations: 7.938 kB / 403.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.2734, allocations: 31.84 kB / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.709e-05/0.2735, allocations: 39.84 kB / 403.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2736, allocations: 8 kB / 403.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.2737, allocations: 15.98 kB / 403.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.2737, allocations: 15.92 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.2737, allocations: 0 / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.2737, allocations: 4 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.2738, allocations: 11.94 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.2738, allocations: 15.92 kB / 403.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.209e-05/0.2739, allocations: 35.83 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2739, allocations: 4 kB / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2739, allocations: 0 / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2739, allocations: 3.938 kB / 403.5 MB, free: 6.789 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.0004614/0.2744, allocations: 351.2 kB / 403.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2745, allocations: 8.031 kB / 403.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.2745, allocations: 12.84 kB / 403.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.2747, allocations: 168.4 kB / 404 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2747, allocations: 8.375 kB / 404 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2747, allocations: 384 / 404 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.2752, allocations: 143.6 kB / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2752, allocations: 0 / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2752, allocations: 7.938 kB / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2752, allocations: 0 / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.2754, allocations: 35.95 kB / 404.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.2755, allocations: 162.8 kB / 404.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.2758, allocations: 82.52 kB / 404.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2759, allocations: 28.92 kB / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.276, allocations: 3.984 kB / 404.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.276, allocations: 38.5 kB / 404.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.276, allocations: 0 / 404.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003436/0.2763, allocations: 101.8 kB / 404.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.2764, allocations: 55.41 kB / 404.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.2765, allocations: 109.8 kB / 404.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2765, allocations: 25.7 kB / 404.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2765, allocations: 80.14 kB / 404.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.714e-06/0.2765, allocations: 4 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.2766, allocations: 17.72 kB / 404.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.2766, allocations: 318.8 kB / 405.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.2767, allocations: 4 kB / 405.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.2767, allocations: 27.42 kB / 405.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.2767, allocations: 35.38 kB / 405.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2767, allocations: 4 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.394e-05/0.2768, allocations: 61.5 kB / 405.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2768, allocations: 11.88 kB / 405.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2769, allocations: 0 / 405.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2769, allocations: 4 kB / 405.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.2769, allocations: 7.984 kB / 405.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2769, allocations: 128 / 405.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.277, allocations: 15.91 kB / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.277, allocations: 0 / 405.4 MB, free: 4.648 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 7.712e-05/0.2771, allocations: 113.8 kB / 405.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.2771, allocations: 3.938 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.2771, allocations: 11.91 kB / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2771, allocations: 0 / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2771, allocations: 0 / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.2772, allocations: 88.94 kB / 405.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2772, allocations: 0 / 405.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.2772, allocations: 8 kB / 405.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-06/0.2773, allocations: 4 kB / 405.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002502/0.2775, allocations: 156.9 kB / 405.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002533/0.2778, allocations: 250.7 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.71e-05/0.2779, allocations: 27.92 kB / 406 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.2779, allocations: 91.27 kB / 406.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of Backend: time 2.6e-07/0.2779, allocations: 0 / 406.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.2783, allocations: 93.62 kB / 406.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004242/0.2787, allocations: 0.5651 MB / 406.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of Templates: time 0.002387/0.2811, allocations: 413.1 kB / 407.2 MB, free: 2.738 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)