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.001413/0.001413, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.00132/0.00132, allocations: 145.5 kB / 24.89 MB, free: 8.738 MB / 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 0.9024/0.9024, allocations: 173.4 MB / 201.5 MB, free: 8.234 MB / 186.7 MB " [Timeout remaining time 179] 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.254e-06/2.254e-06, allocations: 0 / 268.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.526e-05, allocations: 5.266 kB / 268.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002179/0.002204, allocations: 1.536 MB / 270.1 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002236/0.002428, allocations: 40.53 kB / 270.1 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.002493, allocations: 1.625 kB / 270.1 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.002523, allocations: 3.938 kB / 270.1 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.00257, allocations: 7.875 kB / 270.1 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.002804, allocations: 23.91 kB / 270.1 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.00288, allocations: 27.92 kB / 270.2 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.002964, allocations: 12.73 kB / 270.2 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.003022, allocations: 17.17 kB / 270.2 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.472e-05/0.003057, allocations: 15.92 kB / 270.2 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003073, allocations: 0 / 270.2 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.003081, allocations: 4 kB / 270.2 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.003099, allocations: 4.641 kB / 270.2 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.003118, allocations: 14.03 kB / 270.2 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.28e-05/0.0032, allocations: 19.97 kB / 270.3 MB, free: 8.031 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003203, allocations: 0 / 270.3 MB, free: 8.031 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.003204, allocations: 4 kB / 270.3 MB, free: 8.027 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.003209, allocations: 0 / 270.3 MB, free: 8.027 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.0002314/0.00344, allocations: 240.9 kB / 270.5 MB, free: 7.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.003468, allocations: 13.81 kB / 270.5 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.00349, allocations: 4.922 kB / 270.5 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.003605, allocations: 121.7 kB / 270.6 MB, free: 7.605 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.003618, allocations: 384 / 270.6 MB, free: 7.605 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.003627, allocations: 9.031 kB / 270.6 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.00377, allocations: 101.3 kB / 270.7 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003776, allocations: 0.6875 kB / 270.7 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.003782, allocations: 4.375 kB / 270.7 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.003786, allocations: 384 / 270.7 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.432e-05/0.0038, allocations: 7.938 kB / 270.8 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.631e-05/0.003856, allocations: 68.92 kB / 270.8 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.919e-05/0.003906, allocations: 22.58 kB / 270.8 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.003928, allocations: 24.83 kB / 270.9 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.003932, allocations: 0 / 270.9 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.003951, allocations: 34.56 kB / 270.9 MB, free: 7.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 4.91e-07/0.003952, allocations: 0 / 270.9 MB, free: 7.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.927e-05/0.004031, allocations: 49.8 kB / 271 MB, free: 7.234 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.004065, allocations: 55.41 kB / 271 MB, free: 7.168 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.004116, allocations: 106.7 kB / 271.1 MB, free: 7.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.004125, allocations: 29.7 kB / 271.1 MB, free: 7.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.004151, allocations: 88.12 kB / 271.2 MB, free: 6.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.00416, allocations: 0 / 271.2 MB, free: 6.926 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.00418, allocations: 9.719 kB / 271.2 MB, free: 6.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.004254, allocations: 318.8 kB / 271.5 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-06/0.004258, allocations: 0 / 271.5 MB, free: 6.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.004265, allocations: 7.984 kB / 271.6 MB, free: 6.582 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.742e-05/0.004283, allocations: 8.844 kB / 271.6 MB, free: 6.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004284, allocations: 4.062 kB / 271.6 MB, free: 6.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.964e-05/0.004314, allocations: 37.64 kB / 271.6 MB, free: 6.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.004326, allocations: 10.34 kB / 271.6 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.00433, allocations: 0 / 271.6 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.004336, allocations: 0 / 271.6 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.004362, allocations: 3.984 kB / 271.6 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-06/0.004363, allocations: 4 kB / 271.6 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-06/0.004371, allocations: 3.938 kB / 271.6 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-06/0.004374, allocations: 0 / 271.6 MB, free: 6.504 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 5.667e-05/0.00443, allocations: 118.1 kB / 271.7 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.004456, allocations: 41.69 kB / 271.8 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.004471, allocations: 4 kB / 271.8 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.004473, allocations: 4 kB / 271.8 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-07/0.004474, allocations: 3.938 kB / 271.8 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.004476, allocations: 0 / 271.8 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.004781, allocations: 73.83 kB / 271.9 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004782, allocations: 0 / 271.9 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.004804, allocations: 8 kB / 271.9 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.004805, allocations: 0 / 271.9 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.00481, allocations: 4 kB / 271.9 MB, free: 6.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004811, allocations: 4 kB / 271.9 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.004811, allocations: 0 / 271.9 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.155e-05/0.004843, allocations: 57.06 kB / 271.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-06/0.00485, allocations: 7.891 kB / 271.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.004859, allocations: 4 kB / 271.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.004869, allocations: 0 / 271.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-06/0.004871, allocations: 0 / 271.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.004874, allocations: 4 kB / 272 MB, free: 6.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.188e-05/0.004886, allocations: 16.84 kB / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004886, allocations: 0 / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.936e-05/0.004976, allocations: 7.938 kB / 272 MB, free: 6.094 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 9.158e-05/0.005067, allocations: 76.42 kB / 272 MB, free: 6.012 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.526e-05/0.005123, allocations: 20.83 kB / 272.1 MB, free: 5.988 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.005126, allocations: 0 / 272.1 MB, free: 5.988 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.005127, allocations: 4 kB / 272.1 MB, free: 5.984 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.005256, allocations: 17.38 kB / 272.1 MB, free: 5.965 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.005479, allocations: 119.1 kB / 272.2 MB, free: 5.824 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.005512, allocations: 59.34 kB / 272.3 MB, free: 5.746 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.384e-05/0.005526, allocations: 0 / 272.3 MB, free: 5.746 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.005567, allocations: 59.38 kB / 272.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.005568, allocations: 0 / 272.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of Templates: time 0.002019/0.007587, allocations: 479 kB / 272.8 MB, free: 5.234 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4536704919300973]