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.001117/0.001117, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.46/1.46, allocations: 223.3 MB / 241.4 MB, free: 11.6 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.001064/0.001064, allocations: 101.3 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004772, allocations: 15.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3627, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09815/0.461, allocations: 76.15 MB / 478.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.4613, allocations: 79.94 kB / 479 MB, free: 4.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00179/0.4631, allocations: 0.6982 MB / 479.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.4631, allocations: 7.5 kB / 479.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4632, allocations: 0 / 479.7 MB, free: 3.449 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.0003192/0.4635, allocations: 338.7 kB / 480 MB, free: 3.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4635, allocations: 8.031 kB / 480 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.4636, allocations: 4.938 kB / 480 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.4637, allocations: 180.2 kB / 480.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.4638, allocations: 2.156 kB / 480.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4638, allocations: 8.375 kB / 480.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.4641, allocations: 124.7 kB / 480.3 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4641, allocations: 192 / 480.3 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4641, allocations: 3.938 kB / 480.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4641, allocations: 0 / 480.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.4642, allocations: 23.98 kB / 480.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.4644, allocations: 157.6 kB / 480.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.4645, allocations: 62.58 kB / 480.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.4646, allocations: 24.89 kB / 480.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.4646, allocations: 0 / 480.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4647, allocations: 38.5 kB / 480.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.4647, allocations: 0 / 480.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.4649, allocations: 81.52 kB / 480.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.465, allocations: 51.41 kB / 480.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.465, allocations: 105.8 kB / 480.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4651, allocations: 29.7 kB / 480.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.4651, allocations: 84.14 kB / 481 MB, free: 1.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.4651, allocations: 4 kB / 481 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/0.4651, allocations: 0 / 481 MB, free: 1.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4653, allocations: 318.8 kB / 481.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.4653, allocations: 4 kB / 481.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.4653, allocations: 31.38 kB / 481.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.4654, allocations: 31.38 kB / 481.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4654, allocations: 0 / 481.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.435e-05/0.4655, allocations: 61.56 kB / 481.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4655, allocations: 4 kB / 481.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4655, allocations: 7.938 kB / 481.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4655, allocations: 128 / 481.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.4656, allocations: 15.98 kB / 481.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4656, allocations: 3.984 kB / 481.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.4656, allocations: 0 / 481.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.4656, allocations: 4 kB / 481.4 MB, free: 1.43 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 7.621e-05/0.4657, allocations: 113.8 kB / 481.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4658, allocations: 61.59 kB / 481.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.4658, allocations: 19.83 kB / 481.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4658, allocations: 0 / 481.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4659, allocations: 0 / 481.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4659, allocations: 336 / 481.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.466, allocations: 153.7 kB / 481.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.466, allocations: 0 / 481.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.466, allocations: 15.92 kB / 481.8 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.466, allocations: 4 kB / 481.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.466, allocations: 3.938 kB / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4661, allocations: 0 / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4661, allocations: 3.984 kB / 481.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.4662, allocations: 93.05 kB / 481.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.4662, allocations: 77.11 kB / 482 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.4663, allocations: 4.188 kB / 482 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.519e-05/0.4663, allocations: 4 kB / 482 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.4663, allocations: 4 kB / 482 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.4663, allocations: 4 kB / 482 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.4664, allocations: 91.27 kB / 482.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4664, allocations: 0 / 482.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.4666, allocations: 0 / 482.1 MB, free: 0.6797 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.0001206/0.4667, allocations: 102.2 kB / 482.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.4668, allocations: 27.92 kB / 482.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4668, allocations: 256 / 482.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.4668, allocations: 4 kB / 482.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.4671, allocations: 23.92 kB / 482.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.4674, allocations: 128.6 kB / 482.4 MB, free: 376 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4677, allocations: 0.6809 MB / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.339e-05/0.4677, allocations: 3.938 kB / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.4678, allocations: 15.44 kB / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4678, allocations: 0 / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Templates: time 0.002149/0.4699, allocations: 282.8 kB / 483.3 MB, free: 15.37 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/jenkins1/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