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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4618, allocations: 50.55 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003014/0.4649, allocations: 1.471 MB / 410.7 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.4651, allocations: 23.92 kB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.094e-05/0.4652, allocations: 0 / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.4653, allocations: 7.922 kB / 410.8 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.053e-05/0.4654, allocations: 3.938 kB / 410.8 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.4657, allocations: 23.97 kB / 410.8 MB, free: 64 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.4658, allocations: 27.92 kB / 410.8 MB, free: 36 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4659, allocations: 12 kB / 410.8 MB, free: 24 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.466, allocations: 11.94 kB / 410.8 MB, free: 12 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.4661, allocations: 19.95 kB / 410.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4661, allocations: 4 kB / 410.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.4661, allocations: 0 / 410.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.4662, allocations: 11.88 kB / 410.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.4662, allocations: 11.94 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.4663, allocations: 27.89 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4664, allocations: 0 / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4664, allocations: 0 / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4664, allocations: 4 kB / 410.9 MB, free: 15.93 MB / 334.1 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.0005228/0.4669, allocations: 347.2 kB / 411.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.467, allocations: 8.031 kB / 411.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.467, allocations: 8.891 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.4673, allocations: 176.3 kB / 411.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.4674, allocations: 12.31 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4674, allocations: 384 / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.4678, allocations: 123.8 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4678, allocations: 192 / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4678, allocations: 3.938 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4678, allocations: 3.938 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.468, allocations: 27.97 kB / 411.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.4681, allocations: 157.6 kB / 411.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.4683, allocations: 62.48 kB / 411.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.4684, allocations: 28.91 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.4684, allocations: 0 / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4684, allocations: 34.56 kB / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4685, allocations: 0 / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000295/0.4688, allocations: 77.59 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.4688, allocations: 59.34 kB / 412 MB, free: 14.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.4689, allocations: 109.8 kB / 412.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4689, allocations: 33.7 kB / 412.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.469, allocations: 80.14 kB / 412.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.469, allocations: 0 / 412.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.4691, allocations: 17.72 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4692, allocations: 322.8 kB / 412.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.4692, allocations: 4 kB / 412.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.4693, allocations: 27.44 kB / 412.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.4693, allocations: 39.38 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4693, allocations: 0 / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.687e-05/0.4694, allocations: 61.58 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.4695, allocations: 8.125 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4695, allocations: 3.938 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.4695, allocations: 4 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.4696, allocations: 11.92 kB / 412.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4696, allocations: 4 kB / 412.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.4696, allocations: 11.88 kB / 412.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4697, allocations: 4 kB / 412.7 MB, free: 13.84 MB / 334.1 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 ($CLKPRE.step.counter,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.4698, allocations: 109.8 kB / 412.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.4699, allocations: 65.67 kB / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.47, allocations: 11.84 kB / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.47, allocations: 0 / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.47, allocations: 0 / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.47, allocations: 7.984 kB / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.4701, allocations: 157.9 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4701, allocations: 0 / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.4702, allocations: 19.92 kB / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4702, allocations: 0 / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4702, allocations: 7.922 kB / 413.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4702, allocations: 384 / 413.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4702, allocations: 0 / 413.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.4704, allocations: 89.11 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.4705, allocations: 92.98 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.4705, allocations: 7.938 kB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.4705, allocations: 4 kB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-06/0.4705, allocations: 0 / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.4705, allocations: 0 / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.4706, allocations: 87.27 kB / 413.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4706, allocations: 4 kB / 413.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.4708, allocations: 4 kB / 413.4 MB, free: 13.07 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001802/0.471, allocations: 99.19 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.4712, allocations: 31.98 kB / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4712, allocations: 0 / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-07/0.4712, allocations: 0 / 413.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.4715, allocations: 27.95 kB / 413.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.4719, allocations: 121.8 kB / 413.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4722, allocations: 0.6768 MB / 414.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.4723, allocations: 4 kB / 414.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.4723, allocations: 7.438 kB / 414.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4723, allocations: 3.938 kB / 414.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Templates: time 0.003094/0.4754, allocations: 432.5 kB / 414.8 MB, free: 11.62 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches