Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002859/0.002859, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.752/1.752, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 43.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3644, allocations: 53.38 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002913/0.3673, allocations: 1.476 MB / 433.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.3675, allocations: 31.91 kB / 433.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.3676, allocations: 0 / 433.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.3676, allocations: 3.938 kB / 433.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.3676, allocations: 3.938 kB / 433.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.3679, allocations: 23.97 kB / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.368, allocations: 27.92 kB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.3681, allocations: 8 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.3681, allocations: 15.92 kB / 433.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.3682, allocations: 19.92 kB / 433.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3682, allocations: 4 kB / 434 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.3682, allocations: 0 / 434 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.3682, allocations: 11.98 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.3682, allocations: 7.875 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.733e-05/0.3683, allocations: 35.5 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3683, allocations: 0 / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3684, allocations: 0 / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3684, allocations: 0 / 434 MB, free: 5.047 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.0004447/0.3688, allocations: 265.3 kB / 434.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3688, allocations: 12.03 kB / 434.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.3689, allocations: 12.89 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3691, allocations: 122.5 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3691, allocations: 384 / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3691, allocations: 8.375 kB / 434.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.3695, allocations: 123.8 kB / 434.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3695, allocations: 192 / 434.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3695, allocations: 3.938 kB / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3695, allocations: 4 kB / 434.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3696, allocations: 23.97 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.3698, allocations: 105.3 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.37, allocations: 54.48 kB / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.37, allocations: 24.92 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3701, allocations: 4 kB / 434.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3701, allocations: 34.55 kB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3701, allocations: 0 / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002891/0.3704, allocations: 85.53 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3704, allocations: 55.41 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.3705, allocations: 109.8 kB / 435 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3706, allocations: 25.7 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.3706, allocations: 88.12 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.3706, allocations: 4 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3707, allocations: 13.72 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3708, allocations: 314.8 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.3708, allocations: 7.984 kB / 435.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.3709, allocations: 35.69 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.3709, allocations: 39.38 kB / 435.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3709, allocations: 0 / 435.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.44e-05/0.371, allocations: 65.58 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.371, allocations: 4 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.371, allocations: 0 / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3711, allocations: 7.938 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.3711, allocations: 11.92 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3711, allocations: 4 kB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.3711, allocations: 4.062 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3712, allocations: 8 kB / 435.7 MB, free: 3.199 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.0001031/0.3713, allocations: 117.8 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.3714, allocations: 57.67 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.3714, allocations: 8 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3715, allocations: 3.938 kB / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3715, allocations: 4 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3715, allocations: 3.938 kB / 435.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.496e-05/0.3715, allocations: 105.3 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3715, allocations: 0 / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.3716, allocations: 15.98 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3716, allocations: 4.234 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3716, allocations: 0 / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3716, allocations: 0 / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3716, allocations: 3.938 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.3718, allocations: 97.03 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.3718, allocations: 7.938 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3719, allocations: 0 / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.3719, allocations: 4 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-06/0.3719, allocations: 3.938 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3719, allocations: 0 / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.505e-05/0.372, allocations: 95.39 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.372, allocations: 4 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.3721, allocations: 4 kB / 436.2 MB, free: 2.598 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.000122/0.3723, allocations: 99.19 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.3724, allocations: 27.98 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3724, allocations: 0 / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3724, allocations: 0 / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3727, allocations: 27.95 kB / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.373, allocations: 121.8 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.231e-05/0.3731, allocations: 67.34 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.039e-05/0.3731, allocations: 0 / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.3732, allocations: 11.44 kB / 436.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3732, allocations: 0 / 436.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Templates: time 0.003191/0.3764, allocations: 495.4 kB / 437 MB, free: 1.719 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.295480222004699]