Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 180.1 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.0008975, allocations: 93.03 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002675, allocations: 7.938 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2715, allocations: 50.41 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3804, allocations: 76.12 MB / 477.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.3807, allocations: 71.95 kB / 477.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001738/0.3825, allocations: 0.7049 MB / 478.4 MB, free: 3.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3825, allocations: 4 kB / 478.4 MB, free: 3.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3825, allocations: 0 / 478.4 MB, free: 3.633 MB / 346.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.0003349/0.3828, allocations: 343.2 kB / 478.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3829, allocations: 12.03 kB / 478.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3829, allocations: 3.953 kB / 478.7 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3831, allocations: 178.9 kB / 478.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3831, allocations: 4 kB / 478.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.3831, allocations: 4 kB / 478.9 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.3834, allocations: 111.3 kB / 479 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3835, allocations: 0 / 479 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3835, allocations: 0 / 479 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3835, allocations: 3.953 kB / 479 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.3836, allocations: 31.97 kB / 479.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.3837, allocations: 157.6 kB / 479.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3839, allocations: 65.56 kB / 479.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3839, allocations: 4 kB / 479.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.384, allocations: 30.56 kB / 479.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.384, allocations: 0 / 479.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002192/0.3842, allocations: 73.84 kB / 479.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3842, allocations: 55.34 kB / 479.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.3843, allocations: 105 kB / 479.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.3843, allocations: 25.7 kB / 479.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.3844, allocations: 84.14 kB / 479.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.3844, allocations: 0 / 479.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.3844, allocations: 4 kB / 479.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3845, allocations: 314.8 kB / 480 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.3845, allocations: 7.984 kB / 480 MB, free: 1.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.3846, allocations: 27.44 kB / 480 MB, free: 1.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.271e-05/0.3846, allocations: 8 kB / 480 MB, free: 1.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3846, allocations: 4 kB / 480 MB, free: 1.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.452e-05/0.3847, allocations: 57.47 kB / 480.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3847, allocations: 11.94 kB / 480.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3847, allocations: 4.125 kB / 480.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3847, allocations: 0 / 480.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.3848, allocations: 8 kB / 480.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3848, allocations: 0 / 480.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.3848, allocations: 4 kB / 480.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.3848, allocations: 0 / 480.1 MB, free: 1.699 MB / 346.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.969e-05/0.3849, allocations: 121.8 kB / 480.2 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.385, allocations: 57.91 kB / 480.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.442e-05/0.3851, allocations: 11.95 kB / 480.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3851, allocations: 7.984 kB / 480.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3851, allocations: 0 / 480.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3851, allocations: 0 / 480.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.184e-05/0.3852, allocations: 165.5 kB / 480.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3852, allocations: 0 / 480.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.3853, allocations: 8 kB / 480.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3853, allocations: 0 / 480.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.3853, allocations: 0 / 480.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3853, allocations: 0 / 480.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3853, allocations: 4 kB / 480.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.3855, allocations: 92.97 kB / 480.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.3855, allocations: 85.05 kB / 480.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3855, allocations: 4.234 kB / 480.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.3856, allocations: 0 / 480.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-06/0.3856, allocations: 12 kB / 480.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.3856, allocations: 0 / 480.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.3856, allocations: 83.28 kB / 480.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3856, allocations: 0 / 480.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.3858, allocations: 4 kB / 480.7 MB, free: 0.9492 MB / 346.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 0.0001129/0.3859, allocations: 99.23 kB / 480.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.386, allocations: 28.11 kB / 480.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3861, allocations: 4.062 kB / 480.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.3861, allocations: 0 / 480.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.3862, allocations: 26.56 kB / 480.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.3865, allocations: 128.6 kB / 481 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3868, allocations: 0.6848 MB / 481.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.198e-05/0.3868, allocations: 4 kB / 481.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.3868, allocations: 7.438 kB / 481.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3868, allocations: 0 / 481.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Templates: time 0.001969/0.3888, allocations: 290.8 kB / 482 MB, free: 15.63 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches