Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001428/0.001428, allocations: 88.64 kB / 20.96 MB, free: 3.449 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.001539/0.001539, allocations: 149.1 kB / 24.25 MB, free: 160 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.465/1.465, allocations: 173.4 MB / 200.8 MB, free: 9.312 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.329e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.004142/0.004175, allocations: 1.468 MB / 268.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000403/0.004578, allocations: 103.6 kB / 268.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.004653, allocations: 7.938 kB / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.004685, allocations: 0 / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.414e-05/0.004749, allocations: 7.875 kB / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.005043, allocations: 23.97 kB / 268.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.00515, allocations: 19.92 kB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.005262, allocations: 15.94 kB / 269 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.005336, allocations: 23.91 kB / 269 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.005384, allocations: 3.984 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.005409, allocations: 4 kB / 269 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.005419, allocations: 0 / 269 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.005458, allocations: 8 kB / 269 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.005502, allocations: 7.938 kB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.005622, allocations: 27.89 kB / 269 MB, free: 4.984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.005626, allocations: 0 / 269 MB, free: 4.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.73e-06/0.005632, allocations: 4 kB / 269.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.005637, allocations: 0 / 269.1 MB, free: 4.98 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.0006139/0.006251, allocations: 270.2 kB / 269.3 MB, free: 4.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.006305, allocations: 8.922 kB / 269.3 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.006368, allocations: 8.938 kB / 269.3 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.006665, allocations: 117.7 kB / 269.4 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.006683, allocations: 4.359 kB / 269.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.006698, allocations: 8.375 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.007193, allocations: 107.8 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.007204, allocations: 192 / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.007214, allocations: 384 / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.00722, allocations: 4.312 kB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.007379, allocations: 27.91 kB / 269.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.007576, allocations: 101.3 kB / 269.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.007845, allocations: 50.55 kB / 269.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.00796, allocations: 24.92 kB / 269.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.007986, allocations: 4 kB / 269.8 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/0.008044, allocations: 38.5 kB / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.008046, allocations: 0 / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003971/0.008443, allocations: 69.62 kB / 269.9 MB, free: 4.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.00853, allocations: 51.41 kB / 269.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.008704, allocations: 109.8 kB / 270 MB, free: 3.848 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.008731, allocations: 25.7 kB / 270.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.008821, allocations: 88.14 kB / 270.1 MB, free: 3.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.008824, allocations: 0 / 270.1 MB, free: 3.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.008862, allocations: 9.719 kB / 270.2 MB, free: 3.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.009125, allocations: 322.8 kB / 270.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.009131, allocations: 0 / 270.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.009144, allocations: 3.938 kB / 270.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.00921, allocations: 75.28 kB / 270.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.287e-05/0.009273, allocations: 75.28 kB / 270.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001054/0.009379, allocations: 33.7 kB / 270.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.009458, allocations: 79.28 kB / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.269e-05/0.009531, allocations: 79.34 kB / 270.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.00968, allocations: 158.5 kB / 271 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.009748, allocations: 75.28 kB / 271 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001315/0.00988, allocations: 162.5 kB / 271.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.01004, allocations: 83.22 kB / 271.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.0101, allocations: 75.28 kB / 271.4 MB, free: 2.492 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0002117/0.01031, allocations: 193.1 kB / 271.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.01053, allocations: 49.69 kB / 271.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.01059, allocations: 15.98 kB / 271.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01059, allocations: 0 / 271.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.0106, allocations: 0 / 271.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.01061, allocations: 4.172 kB / 271.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.01077, allocations: 105.5 kB / 271.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.01078, allocations: 11.98 kB / 271.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.01092, allocations: 11.94 kB / 271.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.01093, allocations: 3.984 kB / 271.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01094, allocations: 0 / 271.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01094, allocations: 0 / 271.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01094, allocations: 0 / 271.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.01123, allocations: 92.98 kB / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.01125, allocations: 3.938 kB / 271.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.01127, allocations: 0 / 271.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.01131, allocations: 4 kB / 271.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-06/0.01132, allocations: 7.984 kB / 271.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.01133, allocations: 0 / 271.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.974e-05/0.01142, allocations: 83.28 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01142, allocations: 0 / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004126/0.01183, allocations: 4 kB / 271.9 MB, free: 1.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001722/0.012, allocations: 99.19 kB / 272 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.01214, allocations: 15.98 kB / 272 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01214, allocations: 0 / 272 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.01215, allocations: 3.938 kB / 272 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.01253, allocations: 25.11 kB / 272.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.01294, allocations: 111.5 kB / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01305, allocations: 67.25 kB / 272.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.364e-05/0.01306, allocations: 0 / 272.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.0131, allocations: 12.5 kB / 272.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0131, allocations: 0 / 272.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of Templates: time 0.004069/0.01717, allocations: 306 kB / 272.6 MB, free: 1.16 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.114616281003691]