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.001282/0.001282, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001061/0.001061, allocations: 145.7 kB / 24.97 MB, free: 8.371 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 1.003/1.003, allocations: 173.3 MB / 201.5 MB, free: 9.355 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.756e-06/2.756e-06, allocations: 3.984 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.918e-05, allocations: 2.312 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.004221/0.00424, allocations: 1.499 MB / 269.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.004407, allocations: 31.84 kB / 269.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.004465, allocations: 8 kB / 269.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.00449, allocations: 3.938 kB / 269.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.004526, allocations: 0 / 269.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.004748, allocations: 31.89 kB / 269.7 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.004827, allocations: 31.86 kB / 269.7 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.00491, allocations: 4 kB / 269.7 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.00496, allocations: 15.98 kB / 269.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.004995, allocations: 15.97 kB / 269.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.005014, allocations: 0 / 269.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.005022, allocations: 4 kB / 269.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.005038, allocations: 7.938 kB / 269.7 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.005065, allocations: 8 kB / 269.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.005148, allocations: 27.84 kB / 269.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005149, allocations: 0 / 269.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00515, allocations: 0 / 269.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.005153, allocations: 0 / 269.8 MB, free: 5.043 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.000332/0.005485, allocations: 368.6 kB / 270.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.005519, allocations: 12.92 kB / 270.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.005555, allocations: 4.938 kB / 270.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.005704, allocations: 124.6 kB / 270.3 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.005722, allocations: 4.375 kB / 270.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.005732, allocations: 4.375 kB / 270.3 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.005949, allocations: 110.2 kB / 270.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.005955, allocations: 192 / 270.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.005963, allocations: 384 / 270.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.005971, allocations: 384 / 270.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.006003, allocations: 15.92 kB / 270.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.786e-05/0.006101, allocations: 112.6 kB / 270.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.161e-05/0.006172, allocations: 43.05 kB / 270.5 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.006205, allocations: 23.72 kB / 270.6 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.006213, allocations: 4.031 kB / 270.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.006235, allocations: 37.33 kB / 270.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.006236, allocations: 0 / 270.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001373/0.006373, allocations: 57.58 kB / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.006419, allocations: 55.41 kB / 270.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/0.009516, allocations: 165.9 kB / 270.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.009527, allocations: 25.7 kB / 270.9 MB, free: 3.715 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.009571, allocations: 134.9 kB / 271 MB, free: 3.578 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.009583, allocations: 0 / 271 MB, free: 3.578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.009612, allocations: 23.38 kB / 271.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004084/0.01002, allocations: 496.1 kB / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.01003, allocations: 0 / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.01004, allocations: 11.92 kB / 271.6 MB, free: 3.039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.01007, allocations: 11.69 kB / 271.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01007, allocations: 0 / 271.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.098e-05/0.01013, allocations: 37.7 kB / 271.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01015, allocations: 4 kB / 271.6 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01015, allocations: 0 / 271.6 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01017, allocations: 4.094 kB / 271.6 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.01022, allocations: 4 kB / 271.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.01022, allocations: 0 / 271.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.01024, allocations: 12.12 kB / 271.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.01024, allocations: 4 kB / 271.6 MB, free: 2.953 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 6.867e-05/0.01031, allocations: 160.5 kB / 271.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.01036, allocations: 45.88 kB / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.01039, allocations: 8.047 kB / 271.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01039, allocations: 3.984 kB / 271.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.0104, allocations: 4 kB / 271.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.0104, allocations: 7.938 kB / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.48e-05/0.01046, allocations: 116.6 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01047, allocations: 0 / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.0105, allocations: 4 kB / 272 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01051, allocations: 4 kB / 272 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.01051, allocations: 3.938 kB / 272 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.01051, allocations: 0 / 272 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01051, allocations: 0 / 272 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.986e-05/0.01059, allocations: 96.27 kB / 272.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.0106, allocations: 3.984 kB / 272.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.01062, allocations: 4 kB / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.01063, allocations: 4 kB / 272.1 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.01063, allocations: 0 / 272.1 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01064, allocations: 4 kB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.628e-05/0.01067, allocations: 127.2 kB / 272.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01067, allocations: 0 / 272.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.01084, allocations: 0 / 272.2 MB, free: 2.285 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 7.061e-05/0.01091, allocations: 103.2 kB / 272.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.01099, allocations: 23.62 kB / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01099, allocations: 0 / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-07/0.01099, allocations: 4.062 kB / 272.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.0112, allocations: 17.42 kB / 272.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.01143, allocations: 124.8 kB / 272.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.01146, allocations: 59.34 kB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.261e-05/0.01147, allocations: 0 / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.01149, allocations: 8.5 kB / 272.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0115, allocations: 4 kB / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of Templates: time 0.00512/0.01662, allocations: 463 kB / 273 MB, free: 1.449 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 -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.7111885398626328]