Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3014, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00274/0.3042, allocations: 1.479 MB / 411.4 MB, free: 108 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.3045, allocations: 91.69 kB / 411.5 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.3046, allocations: 0 / 411.5 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.3047, allocations: 4 kB / 411.5 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.3047, allocations: 3.938 kB / 411.5 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.305, allocations: 28.02 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.3051, allocations: 27.75 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3052, allocations: 15.98 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.3052, allocations: 4 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.3053, allocations: 7.938 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3053, allocations: 7.938 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.3053, allocations: 0 / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.3053, allocations: 15.97 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3054, allocations: 11.94 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3055, allocations: 27.91 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3055, allocations: 0 / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3055, allocations: 0 / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.3055, allocations: 3.938 kB / 411.7 MB, free: 15.86 MB / 334.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.0004764/0.306, allocations: 343.3 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3061, allocations: 8.031 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.3061, allocations: 4.938 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3064, allocations: 184.2 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3064, allocations: 384 / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.3064, allocations: 4.375 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.3067, allocations: 107.9 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3068, allocations: 8.109 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3068, allocations: 7.938 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3068, allocations: 0 / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.3069, allocations: 19.98 kB / 412.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.307, allocations: 157.7 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3072, allocations: 54.48 kB / 412.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.3072, allocations: 20.89 kB / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3073, allocations: 8.031 kB / 412.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.3073, allocations: 30.56 kB / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.3073, allocations: 0 / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001988/0.3075, allocations: 77.52 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.3075, allocations: 51.41 kB / 412.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.3076, allocations: 109.8 kB / 412.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.3076, allocations: 25.7 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.3077, allocations: 88.14 kB / 412.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-06/0.3077, allocations: 3.938 kB / 412.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.3077, allocations: 13.72 kB / 413 MB, free: 14.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3078, allocations: 314.8 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.3079, allocations: 7.984 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.3079, allocations: 27.44 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.3079, allocations: 35.38 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.308, allocations: 0 / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.858e-05/0.308, allocations: 57.62 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3081, allocations: 6.344 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3081, allocations: 4.125 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3081, allocations: 7.938 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.3081, allocations: 4 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3082, allocations: 7.984 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.3082, allocations: 9.141 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.3082, allocations: 0 / 413.4 MB, free: 13.84 MB / 334.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.173e-05/0.3083, allocations: 117.8 kB / 413.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3083, allocations: 3.906 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.3083, allocations: 11.84 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3083, allocations: 4 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3084, allocations: 0 / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.3084, allocations: 77.11 kB / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.3084, allocations: 0 / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.143e-05/0.3084, allocations: 7.984 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-06/0.3085, allocations: 0 / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001528/0.3086, allocations: 137.2 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001769/0.3088, allocations: 242.7 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.119e-05/0.3089, allocations: 15.98 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.3089, allocations: 87.22 kB / 414.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of Backend: time 2.4e-07/0.3089, allocations: 0 / 414.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3093, allocations: 90.27 kB / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004106/0.3097, allocations: 0.5574 MB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Templates: time 0.002182/0.3119, allocations: 305.1 kB / 415.1 MB, free: 12.09 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1)