Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001908/0.001908, allocations: 82.83 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002362/0.002362, allocations: 163.1 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.516/1.516, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.984e-05/4.14e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002932/0.002974, allocations: 1.637 MB / 326.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.0041, allocations: 0.5401 MB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.004186, allocations: 5.031 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/0.004237, allocations: 6.953 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.004383, allocations: 16.09 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.004727, allocations: 67.66 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.004859, allocations: 56.17 kB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.00497, allocations: 12.45 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.00513, allocations: 39.81 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.005199, allocations: 18.44 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.005221, allocations: 2.688 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.057e-05/0.005271, allocations: 11.53 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.005329, allocations: 14.06 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.005364, allocations: 17.94 kB / 327.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005549, allocations: 73.72 kB / 327.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.005553, allocations: 0 / 327.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.005555, allocations: 5.438 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.005565, allocations: 0 / 327.6 MB, free: 14.88 MB / 302.1 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.0005552/0.00612, allocations: 312.9 kB / 327.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.006159, allocations: 9.75 kB / 327.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.006316, allocations: 17.42 kB / 327.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.006579, allocations: 149.1 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.006587, allocations: 6.594 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.006608, allocations: 7.953 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.006976, allocations: 130 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.006989, allocations: 5.062 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.007, allocations: 5.031 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.007007, allocations: 2.672 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.007109, allocations: 30.78 kB / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.007495, allocations: 229.4 kB / 328.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.007657, allocations: 91.73 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.007771, allocations: 53.19 kB / 328.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.007793, allocations: 0.7031 kB / 328.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.007827, allocations: 39.36 kB / 328.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.007828, allocations: 0 / 328.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003246/0.008152, allocations: 106.2 kB / 328.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.008265, allocations: 137.5 kB / 328.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.008426, allocations: 142.1 kB / 329 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.008448, allocations: 30.67 kB / 329.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.008521, allocations: 87.84 kB / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.008544, allocations: 10.52 kB / 329.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.00859, allocations: 25.72 kB / 329.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.008772, allocations: 319.2 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.008822, allocations: 15.5 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.00887, allocations: 18.39 kB / 329.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.343e-05/0.008964, allocations: 29.45 kB / 329.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008966, allocations: 0 / 329.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001446/0.00911, allocations: 57.69 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.009126, allocations: 5.594 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.009132, allocations: 4.125 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.00915, allocations: 1.734 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.009228, allocations: 9.984 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.009236, allocations: 1.766 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.009274, allocations: 2.688 kB / 329.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.009284, allocations: 1.797 kB / 329.6 MB, free: 12.97 MB / 302.1 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 0.0001096/0.009393, allocations: 121.5 kB / 329.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.009504, allocations: 64.94 kB / 329.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.009544, allocations: 16.78 kB / 329.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.009548, allocations: 6.5 kB / 329.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.009553, allocations: 2.312 kB / 329.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009557, allocations: 1.812 kB / 329.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.009759, allocations: 123.6 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009761, allocations: 0.7031 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.00983, allocations: 12.61 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.009833, allocations: 2.078 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.009844, allocations: 3.312 kB / 330 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.009847, allocations: 4.906 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.009849, allocations: 1.125 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.0101, allocations: 203.3 kB / 330.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.01014, allocations: 18.58 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.01017, allocations: 6.984 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.01024, allocations: 3.375 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.01028, allocations: 2.828 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.01029, allocations: 8.391 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.01038, allocations: 112 kB / 330.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01038, allocations: 0 / 330.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.01061, allocations: 10.88 kB / 330.3 MB, free: 12.36 MB / 302.1 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 0.0001136/0.01072, allocations: 99.14 kB / 330.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.01088, allocations: 35.61 kB / 330.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01089, allocations: 0 / 330.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.01093, allocations: 13.84 kB / 330.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.01132, allocations: 28.59 kB / 330.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.01175, allocations: 198.4 kB / 330.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.01186, allocations: 88.69 kB / 330.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.816e-05/0.0119, allocations: 6.672 kB / 330.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.01193, allocations: 13.45 kB / 330.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01193, allocations: 0 / 330.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003959/0.01589, allocations: 0.7567 MB / 331.6 MB, free: 11.83 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.450747545808554]