Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001087/0.001087, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.007232/0.007232, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8951/0.8951, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.77e-05, allocations: 6.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001867/0.001894, allocations: 1.483 MB / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.002128, allocations: 107.5 kB / 327.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.002184, allocations: 0 / 327.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.002211, allocations: 3.938 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.002249, allocations: 7.938 kB / 327.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.002475, allocations: 27.89 kB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.002556, allocations: 31.92 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.002651, allocations: 8 kB / 327.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.002695, allocations: 19.91 kB / 327.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.002731, allocations: 7.984 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.002754, allocations: 0 / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.002766, allocations: 4 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.002783, allocations: 4 kB / 327.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.002811, allocations: 7.938 kB / 327.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.002898, allocations: 35.89 kB / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002901, allocations: 0 / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002902, allocations: 0 / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.002906, allocations: 0 / 327.6 MB, free: 13.65 MB / 298.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.0003273/0.003233, allocations: 262.3 kB / 327.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.003271, allocations: 12.03 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.0033, allocations: 4.891 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.003468, allocations: 121.7 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.003476, allocations: 384 / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003486, allocations: 4.375 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.003737, allocations: 107.9 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.003749, allocations: 4.125 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.003758, allocations: 384 / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.003764, allocations: 384 / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.003817, allocations: 27.91 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.748e-05/0.003905, allocations: 101.3 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.00401, allocations: 62.48 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.004048, allocations: 24.92 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.004064, allocations: 0 / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.004084, allocations: 34.5 kB / 328.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004085, allocations: 0 / 328.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.004238, allocations: 65.67 kB / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.004273, allocations: 63.34 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.004327, allocations: 109.8 kB / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.004335, allocations: 29.7 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.004361, allocations: 80.14 kB / 328.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.004362, allocations: 0 / 328.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.00438, allocations: 13.72 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.004454, allocations: 318.8 kB / 329 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.004459, allocations: 0 / 329 MB, free: 12.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-06/0.004462, allocations: 0 / 329 MB, free: 12.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.004481, allocations: 75.28 kB / 329.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.004497, allocations: 79.28 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.166e-05/0.004529, allocations: 25.7 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.004557, allocations: 83.28 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.004575, allocations: 83.22 kB / 329.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/0.004614, allocations: 150.6 kB / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.004633, allocations: 83.22 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.284e-05/0.004675, allocations: 158.5 kB / 329.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.004717, allocations: 79.47 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.004736, allocations: 83.22 kB / 329.9 MB, free: 11.17 MB / 298.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 6.64e-05/0.004802, allocations: 185.1 kB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.004877, allocations: 61.64 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.004902, allocations: 8.219 kB / 330.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.004904, allocations: 4 kB / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.004908, allocations: 0 / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.004911, allocations: 7.922 kB / 330.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.769e-05/0.004959, allocations: 113.2 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.004962, allocations: 0 / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.005022, allocations: 11.94 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.005025, allocations: 0 / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.00503, allocations: 0 / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005032, allocations: 0 / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005033, allocations: 0 / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.849e-05/0.005111, allocations: 93.05 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.005118, allocations: 3.953 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.005127, allocations: 0 / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.208e-05/0.005139, allocations: 7.984 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-06/0.005142, allocations: 0 / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.005146, allocations: 0 / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.683e-05/0.005173, allocations: 83.28 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005173, allocations: 7.938 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.005306, allocations: 0 / 330.5 MB, free: 10.52 MB / 298.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 7.744e-05/0.005384, allocations: 103.2 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.559e-05/0.005439, allocations: 19.92 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.005441, allocations: 0 / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.005442, allocations: 0 / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.005618, allocations: 19.98 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.005838, allocations: 143.3 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.005878, allocations: 63.34 kB / 330.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.0059, allocations: 8.5 kB / 330.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.0059, allocations: 3.938 kB / 330.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Templates: time 0.001351/0.007252, allocations: 0.52 MB / 331.3 MB, free: 9.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 3.8911697631701827]