Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 200.7 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008179/0.000818, allocations: 96.03 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.455e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09696, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4783, allocations: 76.14 MB / 471.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.4786, allocations: 76.06 kB / 471.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001761/0.4803, allocations: 0.7755 MB / 472.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4804, allocations: 3.938 kB / 472.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4804, allocations: 3.562 kB / 472.2 MB, free: 14.53 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.0002226/0.4806, allocations: 331.7 kB / 472.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4806, allocations: 8.031 kB / 472.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.4807, allocations: 6.812 kB / 472.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.4808, allocations: 173.7 kB / 472.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4808, allocations: 0.8594 kB / 472.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.4809, allocations: 4.516 kB / 472.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.64e-05/0.4809, allocations: 7.672 kB / 472.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4811, allocations: 93.22 kB / 472.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4811, allocations: 4 kB / 472.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.4811, allocations: 3.938 kB / 472.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4811, allocations: 1.969 kB / 472.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.208e-05/0.4812, allocations: 135.4 kB / 472.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/0.4813, allocations: 39.48 kB / 473 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.4813, allocations: 19.19 kB / 473 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.4813, allocations: 0.75 kB / 473 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.4814, allocations: 35.44 kB / 473 MB, free: 13.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.4814, allocations: 0 / 473 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001167/0.4815, allocations: 52.72 kB / 473.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.4815, allocations: 55.34 kB / 473.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.74e-05/0.4816, allocations: 98.41 kB / 473.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.4816, allocations: 28.88 kB / 473.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.724e-05/0.4816, allocations: 83.89 kB / 473.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.4816, allocations: 4.609 kB / 473.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.4816, allocations: 4 kB / 473.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.4817, allocations: 315.7 kB / 473.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.4817, allocations: 4 kB / 473.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.4817, allocations: 30.52 kB / 473.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.778e-05/0.4817, allocations: 12 kB / 473.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4817, allocations: 0 / 473.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.468e-05/0.4818, allocations: 55.89 kB / 473.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4818, allocations: 5.406 kB / 473.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4818, allocations: 6.672 kB / 473.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4819, allocations: 0 / 473.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.4819, allocations: 12.59 kB / 473.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4819, allocations: 4.75 kB / 473.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.482, allocations: 4 kB / 473.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.482, allocations: 4.125 kB / 473.8 MB, free: 12.82 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 () * 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 4.565e-05/0.482, allocations: 109.5 kB / 473.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.4821, allocations: 44.08 kB / 473.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.4821, allocations: 12.03 kB / 473.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.4821, allocations: 0 / 473.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4821, allocations: 0.7031 kB / 473.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4821, allocations: 3.953 kB / 473.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.553e-05/0.4822, allocations: 134.4 kB / 474.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4822, allocations: 4.594 kB / 474.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.4823, allocations: 18.14 kB / 474.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4823, allocations: 0 / 474.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4823, allocations: 0.75 kB / 474.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4823, allocations: 0 / 474.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4823, allocations: 4 kB / 474.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.986e-05/0.4824, allocations: 76.45 kB / 474.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.4824, allocations: 77.67 kB / 474.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4824, allocations: 8.719 kB / 474.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.4825, allocations: 5.453 kB / 474.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-06/0.4825, allocations: 0 / 474.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4825, allocations: 4.656 kB / 474.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.112e-05/0.4825, allocations: 84.17 kB / 474.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4825, allocations: 0 / 474.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.4827, allocations: 4 kB / 474.4 MB, free: 12.2 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 () * 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 7.738e-05/0.4828, allocations: 95.86 kB / 474.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.624e-05/0.4829, allocations: 20.64 kB / 474.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4829, allocations: 4.25 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.4829, allocations: 1.875 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.4831, allocations: 20.17 kB / 474.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000159/0.4832, allocations: 70.7 kB / 474.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.476e-05/0.4833, allocations: 0.6822 MB / 475.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.761e-05/0.4833, allocations: 1.359 kB / 475.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.4834, allocations: 11.44 kB / 475.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4834, allocations: 4 kB / 475.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Templates: time 0.001899/0.4853, allocations: 365.9 kB / 475.6 MB, free: 11.07 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches