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.001264/0.001264, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4031, allocations: 50.54 MB / 409.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002849/0.406, allocations: 1.468 MB / 410.7 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001895/0.4062, allocations: 31.91 kB / 410.7 MB, free: 64 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.4063, allocations: 3.938 kB / 410.7 MB, free: 60 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.4064, allocations: 0 / 410.7 MB, free: 60 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.4064, allocations: 7.938 kB / 410.8 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.4067, allocations: 23.97 kB / 410.8 MB, free: 28 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.55e-05/0.4068, allocations: 27.92 kB / 410.8 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.4069, allocations: 11.98 kB / 410.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.407, allocations: 11.94 kB / 410.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.407, allocations: 11.92 kB / 410.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.407, allocations: 4 kB / 410.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.407, allocations: 4 kB / 410.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.4071, allocations: 7.938 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.4071, allocations: 19.91 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.4072, allocations: 27.91 kB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4072, allocations: 0 / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4072, allocations: 7.938 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4073, allocations: 0 / 410.9 MB, free: 15.89 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.0005285/0.4078, allocations: 339.5 kB / 411.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4078, allocations: 12.03 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.4079, allocations: 0.9375 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.4081, allocations: 184.1 kB / 411.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4082, allocations: 8.312 kB / 411.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.4082, allocations: 4.375 kB / 411.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.4085, allocations: 119.8 kB / 411.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4086, allocations: 192 / 411.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4086, allocations: 11.94 kB / 411.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4086, allocations: 3.984 kB / 411.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4087, allocations: 27.84 kB / 411.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.4089, allocations: 157.7 kB / 411.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.4091, allocations: 54.55 kB / 411.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.4092, allocations: 32.92 kB / 411.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.4092, allocations: 0 / 411.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4092, allocations: 34.55 kB / 411.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4092, allocations: 0 / 411.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003031/0.4095, allocations: 89.44 kB / 412 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.4096, allocations: 55.41 kB / 412 MB, free: 14.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4097, allocations: 101.9 kB / 412.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.4097, allocations: 25.7 kB / 412.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.4098, allocations: 92.12 kB / 412.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.4098, allocations: 0 / 412.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4099, allocations: 17.72 kB / 412.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.41, allocations: 310.8 kB / 412.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.41, allocations: 15.98 kB / 412.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.4101, allocations: 23.44 kB / 412.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.4101, allocations: 35.38 kB / 412.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4101, allocations: 4 kB / 412.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.4102, allocations: 65.94 kB / 412.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4103, allocations: 6.969 kB / 412.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4103, allocations: 7.938 kB / 412.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4103, allocations: 0 / 412.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.4104, allocations: 15.98 kB / 412.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4104, allocations: 0 / 412.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.4104, allocations: 7.844 kB / 412.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4104, allocations: 7.984 kB / 412.7 MB, free: 13.81 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 8.421e-05/0.4105, allocations: 121.9 kB / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.4107, allocations: 65.61 kB / 412.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.4107, allocations: 11.84 kB / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4107, allocations: 0 / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4107, allocations: 0 / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4107, allocations: 0 / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.4109, allocations: 157.7 kB / 413.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4109, allocations: 0 / 413.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.411, allocations: 11.98 kB / 413.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.411, allocations: 4 kB / 413.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.411, allocations: 3.938 kB / 413.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.411, allocations: 0 / 413.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.411, allocations: 4 kB / 413.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.4112, allocations: 97.17 kB / 413.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.4112, allocations: 77.11 kB / 413.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.4113, allocations: 15.86 kB / 413.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.4113, allocations: 4 kB / 413.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.4113, allocations: 4 kB / 413.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4113, allocations: 0 / 413.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.4114, allocations: 91.27 kB / 413.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4114, allocations: 0 / 413.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.4116, allocations: 4 kB / 413.4 MB, free: 13.04 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.0001182/0.4117, allocations: 95.25 kB / 413.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.4118, allocations: 27.92 kB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4119, allocations: 4.25 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.4119, allocations: 0 / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.4121, allocations: 27.34 kB / 413.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.4124, allocations: 117.6 kB / 413.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.4127, allocations: 0.6807 MB / 414.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.4127, allocations: 4 kB / 414.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.4128, allocations: 7.438 kB / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.4128, allocations: 3.938 kB / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Templates: time 0.00227/0.415, allocations: 436.6 kB / 414.8 MB, free: 11.59 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