Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 180.8 kB / 16.39 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.377/1.377, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008827/0.0008828, allocations: 101 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002745, allocations: 15.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2708, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3718, allocations: 76.07 MB / 477.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.3721, allocations: 79.94 kB / 477.7 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00235/0.3745, allocations: 0.7796 MB / 478.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3745, allocations: 0 / 478.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.3745, allocations: 0 / 478.4 MB, free: 3.582 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.0005179/0.3751, allocations: 335.1 kB / 478.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.3751, allocations: 12.03 kB / 478.8 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3752, allocations: 3.953 kB / 478.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.3755, allocations: 182.9 kB / 479 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.3756, allocations: 11.98 kB / 479 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3756, allocations: 0 / 479 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.376, allocations: 119.7 kB / 479.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.376, allocations: 0 / 479.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3761, allocations: 0 / 479.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3761, allocations: 4 kB / 479.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.3762, allocations: 32.86 kB / 479.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.3764, allocations: 165.5 kB / 479.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3766, allocations: 54.55 kB / 479.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.3767, allocations: 4.125 kB / 479.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3767, allocations: 34.5 kB / 479.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3767, allocations: 32 / 479.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003272/0.3771, allocations: 85.59 kB / 479.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.3772, allocations: 55.41 kB / 479.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.3773, allocations: 97 kB / 479.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3773, allocations: 29.7 kB / 479.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.3774, allocations: 84.12 kB / 479.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.3774, allocations: 3.906 kB / 479.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.3774, allocations: 8 kB / 479.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3776, allocations: 314.8 kB / 480 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.3776, allocations: 4 kB / 480 MB, free: 1.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.3777, allocations: 35.42 kB / 480.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.3777, allocations: 8 kB / 480.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3777, allocations: 0 / 480.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.251e-05/0.3778, allocations: 61.56 kB / 480.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3779, allocations: 4 kB / 480.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3779, allocations: 4.125 kB / 480.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3779, allocations: 4 kB / 480.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.378, allocations: 8 kB / 480.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.378, allocations: 0 / 480.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.378, allocations: 7.938 kB / 480.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.3781, allocations: 4 kB / 480.2 MB, free: 1.621 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: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001127/0.3782, allocations: 113.8 kB / 480.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3783, allocations: 77.5 kB / 480.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.3784, allocations: 3.906 kB / 480.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3784, allocations: 4 kB / 480.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3784, allocations: 0 / 480.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3784, allocations: 0 / 480.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.3785, allocations: 169.5 kB / 480.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3785, allocations: 0 / 480.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.3786, allocations: 8.234 kB / 480.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3786, allocations: 0 / 480.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3786, allocations: 4.375 kB / 480.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3786, allocations: 0 / 480.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3786, allocations: 4 kB / 480.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3788, allocations: 105 kB / 480.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.3789, allocations: 85.02 kB / 480.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3789, allocations: 0 / 480.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.3789, allocations: 4 kB / 480.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-06/0.3789, allocations: 3.984 kB / 480.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3789, allocations: 0 / 480.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.394e-05/0.379, allocations: 83.28 kB / 480.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.379, allocations: 3.938 kB / 480.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.3793, allocations: 4 kB / 480.8 MB, free: 0.8555 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001239/0.3794, allocations: 103.2 kB / 480.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.3795, allocations: 31.91 kB / 481 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3795, allocations: 4 kB / 481 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-07/0.3795, allocations: 0 / 481 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3799, allocations: 34.89 kB / 481 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.3802, allocations: 125 kB / 481.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.3807, allocations: 0.6848 MB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.878e-05/0.3807, allocations: 3.938 kB / 481.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3808, allocations: 11.44 kB / 481.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of SimCode: time 2.184e-06/0.3808, allocations: 0 / 481.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Templates: time 0.002602/0.3834, allocations: 384.8 kB / 482.2 MB, free: 15.43 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches