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.0009294/0.0009294, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009784/0.0009784, allocations: 145.1 kB / 24.54 MB, free: 36 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.012/1.012, allocations: 173.3 MB / 201.1 MB, free: 8.941 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.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.944e-06/1.944e-06, allocations: 0 / 268 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.48e-05, allocations: 2.312 kB / 268 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002697/0.002721, allocations: 1.506 MB / 269.5 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.003019, allocations: 103.5 kB / 269.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.003074, allocations: 0 / 269.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.003103, allocations: 7.922 kB / 269.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.003149, allocations: 4 kB / 269.6 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.003378, allocations: 27.86 kB / 269.6 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.003461, allocations: 23.92 kB / 269.7 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.003557, allocations: 11.98 kB / 269.7 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.003603, allocations: 11.98 kB / 269.7 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.003644, allocations: 11.92 kB / 269.7 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.003665, allocations: 4 kB / 269.7 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-06/0.003673, allocations: 0 / 269.7 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.003692, allocations: 4 kB / 269.7 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.003722, allocations: 4 kB / 269.7 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.003824, allocations: 35.83 kB / 269.8 MB, free: 4.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003826, allocations: 4 kB / 269.8 MB, free: 4.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003827, allocations: 0 / 269.8 MB, free: 4.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.003831, allocations: 0 / 269.8 MB, free: 4.492 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.000377/0.004208, allocations: 360.6 kB / 270.1 MB, free: 4.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.004254, allocations: 8.922 kB / 270.1 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.004289, allocations: 4.938 kB / 270.1 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.004437, allocations: 128.5 kB / 270.2 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004448, allocations: 4.375 kB / 270.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.004459, allocations: 384 / 270.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.004717, allocations: 110.2 kB / 270.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004724, allocations: 192 / 270.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004734, allocations: 4.359 kB / 270.4 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.004742, allocations: 4.359 kB / 270.4 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.004776, allocations: 11.94 kB / 270.4 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.004891, allocations: 112.6 kB / 270.5 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.004979, allocations: 43 kB / 270.5 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.005015, allocations: 19.75 kB / 270.6 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.005033, allocations: 8 kB / 270.6 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.005056, allocations: 41.33 kB / 270.6 MB, free: 3.508 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005057, allocations: 0 / 270.6 MB, free: 3.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001417/0.005199, allocations: 53.64 kB / 270.7 MB, free: 3.449 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.005236, allocations: 55.34 kB / 270.7 MB, free: 3.383 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.005311, allocations: 169.9 kB / 270.9 MB, free: 3.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.005321, allocations: 25.7 kB / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.005365, allocations: 134.9 kB / 271 MB, free: 3.031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.005369, allocations: 0 / 271 MB, free: 3.031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.005385, allocations: 15.38 kB / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.005504, allocations: 496.1 kB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-06/0.00551, allocations: 0 / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-06/0.005513, allocations: 4 kB / 271.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.005552, allocations: 123.2 kB / 271.7 MB, free: 2.387 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-05/0.005578, allocations: 123.2 kB / 271.8 MB, free: 2.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.506e-05/0.005633, allocations: 29.7 kB / 271.8 MB, free: 2.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.00567, allocations: 123.2 kB / 271.9 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.716e-05/0.005727, allocations: 123.1 kB / 272 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.005846, allocations: 242.6 kB / 272.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.732e-05/0.005873, allocations: 123.1 kB / 272.4 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.717e-05/0.00593, allocations: 242.4 kB / 272.6 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.005985, allocations: 135.1 kB / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.006014, allocations: 123.1 kB / 272.9 MB, free: 1.137 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.000108/0.006122, allocations: 275.8 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.006188, allocations: 49.64 kB / 273.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.006224, allocations: 8 kB / 273.2 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.006227, allocations: 0 / 273.2 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.00623, allocations: 0 / 273.2 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.88e-05/0.006319, allocations: 3.938 kB / 273.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.033e-05/0.006379, allocations: 120.6 kB / 273.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.006382, allocations: 0 / 273.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.006449, allocations: 11.94 kB / 273.3 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.006453, allocations: 4 kB / 273.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.006459, allocations: 0 / 273.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.006462, allocations: 0 / 273.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006463, allocations: 0 / 273.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.396e-05/0.006537, allocations: 88.59 kB / 273.4 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.006546, allocations: 7.891 kB / 273.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.006557, allocations: 4 kB / 273.5 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.006567, allocations: 7.984 kB / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-06/0.00657, allocations: 0 / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006575, allocations: 0 / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.006614, allocations: 127.2 kB / 273.6 MB, free: 368 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006614, allocations: 0 / 273.6 MB, free: 368 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.006752, allocations: 4 kB / 273.6 MB, free: 364 kB / 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 6.784e-05/0.00682, allocations: 103.2 kB / 273.7 MB, free: 252 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.463e-05/0.006875, allocations: 11.92 kB / 273.7 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006877, allocations: 0 / 273.7 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.006877, allocations: 0 / 273.7 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.007053, allocations: 12.22 kB / 273.7 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.007278, allocations: 121.2 kB / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.007311, allocations: 59.34 kB / 273.9 MB, free: 0 / 250.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.007328, allocations: 192 / 273.9 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.00735, allocations: 8.5 kB / 273.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007351, allocations: 0 / 273.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Templates: time 0.00185/0.009201, allocations: 309.4 kB / 274.2 MB, free: 15.69 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",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.766711110714823]