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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.0008382, allocations: 110.9 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000212/0.000212, allocations: 8 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1854, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08317/0.2686, allocations: 76.91 MB / 486.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.2688, allocations: 76.48 kB / 486.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001437/0.2703, allocations: 0.7113 MB / 487.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2703, allocations: 0 / 487.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2703, allocations: 0 / 487.1 MB, free: 12.91 MB / 362.7 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.0002593/0.2706, allocations: 338 kB / 487.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2706, allocations: 8.031 kB / 487.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.2706, allocations: 4 kB / 487.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2708, allocations: 175 kB / 487.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.2708, allocations: 0 / 487.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.2708, allocations: 7.953 kB / 487.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.2711, allocations: 117.5 kB / 487.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.2711, allocations: 0 / 487.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2711, allocations: 4 kB / 487.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2711, allocations: 7.922 kB / 487.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.2712, allocations: 23.98 kB / 487.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.2713, allocations: 157.6 kB / 487.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.2714, allocations: 62.58 kB / 488 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.2715, allocations: 3.938 kB / 488 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2715, allocations: 34.52 kB / 488 MB, free: 11.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2715, allocations: 0 / 488 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.2717, allocations: 77.75 kB / 488.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2717, allocations: 55.41 kB / 488.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.2718, allocations: 101 kB / 488.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.2718, allocations: 25.7 kB / 488.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.2718, allocations: 84.14 kB / 488.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-06/0.2719, allocations: 0 / 488.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.2719, allocations: 0 / 488.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.272, allocations: 318.8 kB / 488.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.272, allocations: 7.984 kB / 488.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.272, allocations: 27.44 kB / 488.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/0.272, allocations: 11.94 kB / 488.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.272, allocations: 0 / 488.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.803e-05/0.2721, allocations: 57.53 kB / 488.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2721, allocations: 8.125 kB / 488.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2721, allocations: 4 kB / 488.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2721, allocations: 3.953 kB / 488.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.2722, allocations: 8 kB / 488.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.2722, allocations: 0 / 488.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.2722, allocations: 0 / 488.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.2722, allocations: 11.92 kB / 488.8 MB, free: 10.98 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.2723, allocations: 113.8 kB / 488.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.2724, allocations: 61.95 kB / 489 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.2724, allocations: 8.156 kB / 489 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2725, allocations: 3.953 kB / 489 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2725, allocations: 4 kB / 489 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2725, allocations: 7.984 kB / 489 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.675e-05/0.2726, allocations: 153.6 kB / 489.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2726, allocations: 4 kB / 489.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.2726, allocations: 4 kB / 489.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2726, allocations: 4 kB / 489.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.2727, allocations: 4 kB / 489.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2727, allocations: 3.984 kB / 489.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2727, allocations: 7.891 kB / 489.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.2728, allocations: 81.12 kB / 489.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.2728, allocations: 81.09 kB / 489.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.2728, allocations: 0 / 489.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.546e-05/0.2729, allocations: 8 kB / 489.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-06/0.2729, allocations: 0 / 489.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2729, allocations: 4 kB / 489.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.23e-05/0.2729, allocations: 91.17 kB / 489.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2729, allocations: 0 / 489.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.2731, allocations: 4 kB / 489.5 MB, free: 10.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.959e-05/0.2732, allocations: 95.23 kB / 489.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.61e-05/0.2733, allocations: 39.86 kB / 489.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2733, allocations: 0 / 489.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.2733, allocations: 0 / 489.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.2735, allocations: 24.97 kB / 489.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.2737, allocations: 124.9 kB / 489.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2739, allocations: 0.689 MB / 490.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.092e-05/0.2739, allocations: 4 kB / 490.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.2739, allocations: 11.44 kB / 490.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2739, allocations: 0 / 490.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of Templates: time 0.00157/0.2755, allocations: 280.1 kB / 490.7 MB, free: 8.926 MB / 362.7 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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches