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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.662e-05, allocations: 6.312 kB / 267.3 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.005399/0.005436, allocations: 1.46 MB / 268.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002909/0.005727, allocations: 27.91 kB / 268.8 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.792e-05/0.005825, allocations: 7.938 kB / 268.8 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.005863, allocations: 0 / 268.8 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.005934, allocations: 3.938 kB / 268.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.006306, allocations: 23.91 kB / 268.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.006455, allocations: 35.86 kB / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.006561, allocations: 0 / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.006666, allocations: 19.98 kB / 268.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.006737, allocations: 15.97 kB / 268.9 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.006761, allocations: 0 / 268.9 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.006779, allocations: 4 kB / 268.9 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.006806, allocations: 7.938 kB / 268.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.006857, allocations: 4 kB / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.007028, allocations: 39.81 kB / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.007032, allocations: 0 / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.007035, allocations: 0 / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.007041, allocations: 0 / 269 MB, free: 5.023 MB / 250.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.0007362/0.007777, allocations: 282.2 kB / 269.3 MB, free: 4.715 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.00783, allocations: 12.92 kB / 269.3 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.007888, allocations: 0.9375 kB / 269.3 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.008245, allocations: 121.7 kB / 269.4 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.00828, allocations: 4.375 kB / 269.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.008295, allocations: 384 / 269.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.008968, allocations: 119.8 kB / 269.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.00898, allocations: 192 / 269.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.008994, allocations: 4.375 kB / 269.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.009, allocations: 384 / 269.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.009239, allocations: 31.86 kB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.009477, allocations: 105.3 kB / 269.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.009815, allocations: 54.55 kB / 269.7 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.00998, allocations: 24.92 kB / 269.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.009997, allocations: 0 / 269.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.01005, allocations: 34.5 kB / 269.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.01005, allocations: 4 kB / 269.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005423/0.01059, allocations: 81.55 kB / 269.9 MB, free: 4.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.01069, allocations: 59.41 kB / 269.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01085, allocations: 109.8 kB / 270 MB, free: 3.848 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.01088, allocations: 25.7 kB / 270 MB, free: 3.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.01097, allocations: 84.14 kB / 270.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.01099, allocations: 4 kB / 270.1 MB, free: 3.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.01104, allocations: 13.7 kB / 270.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002982/0.01134, allocations: 318.8 kB / 270.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.01136, allocations: 0 / 270.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.01139, allocations: 4 kB / 270.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.01143, allocations: 12.8 kB / 270.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01143, allocations: 4.062 kB / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.01156, allocations: 41.69 kB / 270.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.01158, allocations: 4 kB / 270.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01159, allocations: 192 / 270.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.0116, allocations: 0 / 270.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.01169, allocations: 8 kB / 270.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01169, allocations: 0 / 270.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.01173, allocations: 8.172 kB / 270.5 MB, free: 3.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.01174, allocations: 0 / 270.5 MB, free: 3.297 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001491/0.01188, allocations: 113.8 kB / 270.6 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.01222, allocations: 77.59 kB / 270.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.01227, allocations: 7.984 kB / 270.7 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01227, allocations: 0 / 270.7 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01228, allocations: 0 / 270.7 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.0123, allocations: 7.938 kB / 270.7 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.01246, allocations: 101.3 kB / 270.8 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01246, allocations: 4 kB / 270.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.01257, allocations: 11.92 kB / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.01257, allocations: 4 kB / 270.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01258, allocations: 0 / 270.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01258, allocations: 0 / 270.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01259, allocations: 4 kB / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.013, allocations: 101 kB / 271 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.01302, allocations: 3.953 kB / 271 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.01306, allocations: 4 kB / 271 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.01313, allocations: 4 kB / 271 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-06/0.01313, allocations: 0 / 271 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.01315, allocations: 3.984 kB / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.897e-05/0.01325, allocations: 83.28 kB / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01325, allocations: 0 / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.0136, allocations: 8 kB / 271.1 MB, free: 2.695 MB / 250.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 (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.0002045/0.0138, allocations: 99.19 kB / 271.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.01403, allocations: 23.98 kB / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01403, allocations: 0 / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.01403, allocations: 0 / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.01454, allocations: 33.34 kB / 271.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.0151, allocations: 119.1 kB / 271.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01521, allocations: 67.25 kB / 271.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.01525, allocations: 7.922 kB / 271.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.01531, allocations: 12.5 kB / 271.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01531, allocations: 0 / 271.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of Templates: time 0.004919/0.02023, allocations: 468.3 kB / 271.9 MB, free: 1.844 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3638322609476745]