Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001381/0.001381, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001385/0.001385, allocations: 141.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.009/1.009, allocations: 173.3 MB / 201.1 MB, free: 9.34 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.773e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001958/0.001975, allocations: 1.647 MB / 269.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.002629, allocations: 498.5 kB / 270.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.002706, allocations: 7.938 kB / 270.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.621e-05/0.002752, allocations: 3.938 kB / 270.2 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.002885, allocations: 11.86 kB / 270.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.003117, allocations: 63.69 kB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.826e-05/0.003215, allocations: 55.78 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.003306, allocations: 12 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.003382, allocations: 39.83 kB / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.00343, allocations: 11.98 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.003448, allocations: 4 kB / 270.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.003458, allocations: 4 kB / 270.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.003501, allocations: 19.91 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.003526, allocations: 15.94 kB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003634, allocations: 47.7 kB / 270.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003636, allocations: 4 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003637, allocations: 4 kB / 270.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.003641, allocations: 0 / 270.4 MB, free: 3.973 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003853/0.004026, allocations: 412.2 kB / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.00406, allocations: 8.922 kB / 270.9 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.0041, allocations: 12.89 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.004258, allocations: 152 kB / 271 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.004266, allocations: 384 / 271 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.004279, allocations: 12.36 kB / 271 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.004516, allocations: 145 kB / 271.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.004525, allocations: 7.875 kB / 271.2 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.004534, allocations: 0 / 271.2 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004541, allocations: 7.938 kB / 271.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.004571, allocations: 15.98 kB / 271.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.004827, allocations: 302.8 kB / 271.5 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/0.004908, allocations: 120.4 kB / 271.6 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.004959, allocations: 50.73 kB / 271.7 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.004976, allocations: 4 kB / 271.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.004995, allocations: 37.33 kB / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.004996, allocations: 0 / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001613/0.005157, allocations: 77.52 kB / 271.8 MB, free: 2.414 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.005209, allocations: 141 kB / 271.9 MB, free: 2.246 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.005297, allocations: 197.9 kB / 272.1 MB, free: 2.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.005311, allocations: 25.7 kB / 272.1 MB, free: 2.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.005356, allocations: 134.9 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.005371, allocations: 11.94 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.005396, allocations: 19.38 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.005494, allocations: 0.4922 MB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.005507, allocations: 3.984 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.005523, allocations: 23.31 kB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.005552, allocations: 19.44 kB / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005554, allocations: 4 kB / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.187e-05/0.005606, allocations: 53.58 kB / 272.9 MB, free: 1.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.005616, allocations: 4 kB / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.00562, allocations: 0 / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005632, allocations: 0 / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.00569, allocations: 4 kB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005695, allocations: 4 kB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.005712, allocations: 0 / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005718, allocations: 0 / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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.328e-05/0.005781, allocations: 172.6 kB / 273.1 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.005827, allocations: 53.59 kB / 273.1 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.005856, allocations: 15.95 kB / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005858, allocations: 0 / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.005862, allocations: 4 kB / 273.1 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.005866, allocations: 4 kB / 273.1 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.005968, allocations: 136.5 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005969, allocations: 3.938 kB / 273.3 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.006001, allocations: 12 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.006003, allocations: 64 / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006009, allocations: 4 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.006012, allocations: 7.938 kB / 273.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.006013, allocations: 0 / 273.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.006128, allocations: 242.9 kB / 273.5 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.006157, allocations: 23.83 kB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.006168, allocations: 4 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.345e-05/0.006201, allocations: 0 / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.006229, allocations: 4 kB / 273.6 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.006236, allocations: 4 kB / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.005e-05/0.006286, allocations: 154.1 kB / 273.7 MB, free: 280 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006286, allocations: 4 kB / 273.7 MB, free: 276 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.006423, allocations: 8 kB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 5.3e-05/0.006476, allocations: 95.25 kB / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.006551, allocations: 31.55 kB / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.006552, allocations: 0 / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.006568, allocations: 15.69 kB / 273.9 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.006812, allocations: 32.12 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.007226, allocations: 211.8 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.007264, allocations: 63.34 kB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.022e-05/0.007284, allocations: 7.984 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.00731, allocations: 12.5 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007311, allocations: 0 / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Templates: time 0.002246/0.009556, allocations: 0.801 MB / 275 MB, free: 14.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.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.7767557608895004]