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.002409/0.002409, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002683/0.002683, allocations: 149.1 kB / 24.26 MB, free: 168 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.533/1.533, allocations: 173.3 MB / 200.8 MB, free: 9.32 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.272e-06/1.272e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.122e-05, allocations: 6.25 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003115/0.003146, allocations: 1.479 MB / 268.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003568/0.003503, allocations: 95.62 kB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.00357, allocations: 8 kB / 268.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.003599, allocations: 7.875 kB / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.003652, allocations: 3.938 kB / 268.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.003903, allocations: 23.95 kB / 268.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.003999, allocations: 23.92 kB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.004099, allocations: 7.984 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.004165, allocations: 19.92 kB / 269 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.00422, allocations: 7.984 kB / 269 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.004243, allocations: 4 kB / 269 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.004254, allocations: 4 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.004274, allocations: 3.938 kB / 269 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.004309, allocations: 15.94 kB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.0044, allocations: 23.89 kB / 269.1 MB, free: 4.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.004405, allocations: 4 kB / 269.1 MB, free: 4.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004405, allocations: 3.938 kB / 269.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004409, 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.0005156/0.004925, allocations: 372.2 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.004971, allocations: 8.922 kB / 269.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.005014, allocations: 4.938 kB / 269.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.005234, allocations: 128.6 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.005248, allocations: 8.375 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.005257, allocations: 384 / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.005579, allocations: 105.5 kB / 269.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005589, allocations: 4.188 kB / 269.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005597, allocations: 384 / 269.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.005602, allocations: 4.312 kB / 269.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.005678, allocations: 11.94 kB / 269.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.005837, allocations: 120.6 kB / 269.8 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.006009, allocations: 55.05 kB / 269.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.006087, allocations: 27.75 kB / 269.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.006107, allocations: 0 / 269.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.006142, allocations: 33.39 kB / 269.9 MB, free: 3.977 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.006142, allocations: 0 / 269.9 MB, free: 3.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002418/0.006384, allocations: 73.56 kB / 270 MB, free: 3.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.006438, allocations: 55.41 kB / 270 MB, free: 3.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.006579, allocations: 177.9 kB / 270.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.006599, allocations: 29.7 kB / 270.3 MB, free: 3.605 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.006688, allocations: 134.9 kB / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.006691, allocations: 0 / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.006725, allocations: 19.38 kB / 270.4 MB, free: 3.441 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.006976, allocations: 492.1 kB / 270.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-06/0.00698, allocations: 0 / 270.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-06/0.006983, allocations: 0 / 270.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/0.007056, allocations: 119.2 kB / 271 MB, free: 2.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.531e-05/0.007121, allocations: 127.1 kB / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.22e-05/0.007184, allocations: 33.69 kB / 271.2 MB, free: 2.668 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/0.007258, allocations: 127.2 kB / 271.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.375e-05/0.007322, allocations: 123.2 kB / 271.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.007455, allocations: 242.3 kB / 271.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.007521, allocations: 123.2 kB / 271.8 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/0.007646, allocations: 246.2 kB / 272 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.007749, allocations: 123.1 kB / 272.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.007809, allocations: 119.2 kB / 272.2 MB, free: 1.582 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.0001908/0.008, allocations: 283.8 kB / 272.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.008124, allocations: 53.62 kB / 272.6 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.008165, allocations: 12.23 kB / 272.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.00817, allocations: 3.984 kB / 272.6 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.008173, allocations: 4 kB / 272.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.008178, allocations: 3.938 kB / 272.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.00829, allocations: 120.6 kB / 272.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.008294, allocations: 0 / 272.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.008369, allocations: 8.25 kB / 272.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.008372, allocations: 0 / 272.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.008381, allocations: 4 kB / 272.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.008384, allocations: 0 / 272.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008385, allocations: 0 / 272.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.008553, allocations: 100.3 kB / 272.8 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.008565, allocations: 11.94 kB / 272.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.008577, allocations: 0 / 272.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.008597, allocations: 0 / 272.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-06/0.008603, allocations: 4 kB / 272.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.008608, allocations: 0 / 272.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.424e-05/0.008692, allocations: 131.2 kB / 273 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008692, allocations: 0 / 273 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.008912, allocations: 4 kB / 273 MB, free: 0.7695 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.0001246/0.009036, allocations: 99.19 kB / 273.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.009129, allocations: 15.98 kB / 273.1 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.009131, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.009132, allocations: 0 / 273.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.009365, allocations: 21.09 kB / 273.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.009656, allocations: 113.2 kB / 273.2 MB, free: 496 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.00973, allocations: 75.25 kB / 273.3 MB, free: 400 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.042e-05/0.009741, allocations: 0 / 273.3 MB, free: 400 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.009771, allocations: 12.48 kB / 273.3 MB, free: 388 kB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009772, allocations: 0 / 273.3 MB, free: 388 kB / 250.7 MB Notification: Performance of Templates: time 0.002823/0.0126, allocations: 301.6 kB / 273.6 MB, free: 92 kB / 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=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","/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.243973913020454]