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.001401/0.001401, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 50.53 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002722/0.2637, allocations: 1.472 MB / 411.4 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.264, allocations: 91.69 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.2641, allocations: 4 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.2642, allocations: 7.922 kB / 411.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.2642, allocations: 4 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.2645, allocations: 31.53 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.2646, allocations: 19.94 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.2647, allocations: 15.92 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.2647, allocations: 4 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.2648, allocations: 19.91 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2648, allocations: 4 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-06/0.2648, allocations: 0 / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.2649, allocations: 7.938 kB / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.2649, allocations: 7.938 kB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.265, allocations: 35.91 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.265, allocations: 0 / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.265, allocations: 0 / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.265, allocations: 0 / 411.7 MB, free: 15.82 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.000457/0.2655, allocations: 340.7 kB / 412 MB, free: 15.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2655, allocations: 8.031 kB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2656, allocations: 4.875 kB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2658, allocations: 188.1 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-06/0.2658, allocations: 4.375 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2658, allocations: 4.375 kB / 412.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.2662, allocations: 111.8 kB / 412.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.2662, allocations: 4.125 kB / 412.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2662, allocations: 3.938 kB / 412.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2662, allocations: 0 / 412.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.2663, allocations: 23.92 kB / 412.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.2664, allocations: 149.7 kB / 412.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.2666, allocations: 58.48 kB / 412.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.2667, allocations: 28.92 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2667, allocations: 4 kB / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2667, allocations: 34.56 kB / 412.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2667, allocations: 0 / 412.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002303/0.267, allocations: 85.44 kB / 412.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.267, allocations: 51.41 kB / 412.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.2671, allocations: 105.8 kB / 412.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2671, allocations: 25.7 kB / 412.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.2671, allocations: 80.14 kB / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.2672, allocations: 8 kB / 413 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.2672, allocations: 13.72 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2673, allocations: 318.8 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.2673, allocations: 4 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.2674, allocations: 23.44 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.2674, allocations: 39.36 kB / 413.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2674, allocations: 4 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.068e-05/0.2675, allocations: 49.64 kB / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2675, allocations: 6.969 kB / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2675, allocations: 0 / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2676, allocations: 12.06 kB / 413.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.2676, allocations: 11.92 kB / 413.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2676, allocations: 0 / 413.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.2677, allocations: 8 kB / 413.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.2677, allocations: 0 / 413.4 MB, free: 13.8 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.479e-05/0.2678, allocations: 113.8 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.2678, allocations: 3.906 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.2678, allocations: 15.84 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2678, allocations: 0 / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2678, allocations: 4 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.2679, allocations: 81.09 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.2679, allocations: 3.938 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.2679, allocations: 4 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-06/0.2679, allocations: 0 / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001533/0.2681, allocations: 140.9 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001761/0.2683, allocations: 230.8 kB / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.389e-05/0.2683, allocations: 15.98 kB / 414 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.2684, allocations: 83.28 kB / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Backend: time 2.6e-07/0.2684, allocations: 0 / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.2688, allocations: 98.2 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004405/0.2692, allocations: 0.5532 MB / 414.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Templates: time 0.002355/0.2716, allocations: 317.7 kB / 415.1 MB, free: 12.04 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)