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.001814/0.001814, allocations: 92.59 kB / 20.95 MB, free: 480 kB / 14.72 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.002139/0.002139, allocations: 149.7 kB / 24.25 MB, free: 3.547 MB / 14.72 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.547/1.547, allocations: 173.3 MB / 200.8 MB, free: 12.79 MB / 190.1 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.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.423e-06/1.423e-06, allocations: 0 / 267.3 MB, free: 10.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.555e-05, allocations: 6.25 kB / 267.3 MB, free: 10.25 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002977/0.003002, allocations: 1.619 MB / 268.9 MB, free: 8.621 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004053, allocations: 486.6 kB / 269.4 MB, free: 8.141 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.004149, allocations: 3.938 kB / 269.4 MB, free: 8.137 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.004203, allocations: 3.938 kB / 269.4 MB, free: 8.133 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.004358, allocations: 11.88 kB / 269.4 MB, free: 8.121 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.004657, allocations: 55.73 kB / 269.5 MB, free: 8.066 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.004805, allocations: 59.8 kB / 269.5 MB, free: 8.008 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.004916, allocations: 15.84 kB / 269.5 MB, free: 7.992 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.005029, allocations: 39.83 kB / 269.6 MB, free: 7.953 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.005097, allocations: 19.92 kB / 269.6 MB, free: 7.934 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.005121, allocations: 4 kB / 269.6 MB, free: 7.93 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.005135, allocations: 4 kB / 269.6 MB, free: 7.926 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.005186, allocations: 11.94 kB / 269.6 MB, free: 7.914 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.005224, allocations: 19.91 kB / 269.6 MB, free: 7.895 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.005434, allocations: 63.73 kB / 269.7 MB, free: 7.832 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005436, allocations: 0 / 269.7 MB, free: 7.832 MB / 254.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005437, allocations: 4 kB / 269.7 MB, free: 7.828 MB / 254.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.005445, allocations: 3.984 kB / 269.7 MB, free: 7.824 MB / 254.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.0005764/0.006021, allocations: 302 kB / 270 MB, free: 7.5 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.006068, allocations: 12.86 kB / 270 MB, free: 7.488 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.006127, allocations: 16.89 kB / 270 MB, free: 7.473 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.006417, allocations: 146.1 kB / 270.2 MB, free: 7.305 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.006431, allocations: 4.375 kB / 270.2 MB, free: 7.301 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.006445, allocations: 4.375 kB / 270.2 MB, free: 7.297 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.006797, allocations: 139.3 kB / 270.3 MB, free: 7.137 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.006811, allocations: 7.875 kB / 270.3 MB, free: 7.129 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.006822, allocations: 0 / 270.3 MB, free: 7.129 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.00683, allocations: 4 kB / 270.3 MB, free: 7.125 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.563e-05/0.006926, allocations: 19.98 kB / 270.4 MB, free: 7.105 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.007307, allocations: 227.1 kB / 270.6 MB, free: 6.844 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.007478, allocations: 98.42 kB / 270.7 MB, free: 6.711 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.007579, allocations: 43.42 kB / 270.7 MB, free: 6.656 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.007608, allocations: 3.938 kB / 270.7 MB, free: 6.652 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.007651, allocations: 46.55 kB / 270.8 MB, free: 6.598 MB / 254.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.007652, allocations: 0 / 270.8 MB, free: 6.598 MB / 254.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003388/0.00799, allocations: 105.9 kB / 270.9 MB, free: 6.488 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.008105, allocations: 136.6 kB / 271 MB, free: 6.324 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.008266, allocations: 141.8 kB / 271.1 MB, free: 6.176 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.008289, allocations: 25.7 kB / 271.2 MB, free: 6.145 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.00836, allocations: 92.14 kB / 271.3 MB, free: 6.051 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.008383, allocations: 7.938 kB / 271.3 MB, free: 6.043 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.008421, allocations: 13.72 kB / 271.3 MB, free: 6.023 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.008621, allocations: 322.8 kB / 271.6 MB, free: 5.699 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.008667, allocations: 7.984 kB / 271.6 MB, free: 5.691 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.008713, allocations: 25.66 kB / 271.6 MB, free: 5.66 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.495e-05/0.008798, allocations: 33.77 kB / 271.7 MB, free: 5.621 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008799, allocations: 3.938 kB / 271.7 MB, free: 5.617 MB / 254.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001326/0.008932, allocations: 61.56 kB / 271.7 MB, free: 5.551 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.008947, allocations: 8 kB / 271.7 MB, free: 5.543 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.008951, allocations: 0 / 271.7 MB, free: 5.543 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.008965, allocations: 0 / 271.7 MB, free: 5.543 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.009036, allocations: 4 kB / 271.7 MB, free: 5.539 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.009042, allocations: 8.047 kB / 271.7 MB, free: 5.531 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.00908, allocations: 4 kB / 271.7 MB, free: 5.527 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.009087, allocations: 0 / 271.7 MB, free: 5.527 MB / 254.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.0001004/0.009187, allocations: 117.8 kB / 271.9 MB, free: 5.402 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.009286, allocations: 65.58 kB / 271.9 MB, free: 5.332 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.009325, allocations: 15.92 kB / 271.9 MB, free: 5.312 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.009326, allocations: 0 / 271.9 MB, free: 5.312 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.009333, allocations: 7.984 kB / 272 MB, free: 5.305 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.009338, allocations: 3.984 kB / 272 MB, free: 5.301 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.009515, allocations: 125.3 kB / 272.1 MB, free: 5.148 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.00952, allocations: 4 kB / 272.1 MB, free: 5.145 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.009592, allocations: 15.98 kB / 272.1 MB, free: 5.129 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009594, allocations: 0 / 272.1 MB, free: 5.129 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.009605, allocations: 4 kB / 272.1 MB, free: 5.125 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.009608, allocations: 3.938 kB / 272.1 MB, free: 5.121 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009609, allocations: 0 / 272.1 MB, free: 5.121 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.009856, allocations: 198 kB / 272.3 MB, free: 4.902 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.009901, allocations: 23.83 kB / 272.3 MB, free: 4.879 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.009917, allocations: 4 kB / 272.3 MB, free: 4.875 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.01, allocations: 11.98 kB / 272.3 MB, free: 4.863 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.01003, allocations: 0 / 272.3 MB, free: 4.863 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.01003, allocations: 7.938 kB / 272.3 MB, free: 4.855 MB / 254.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.01014, allocations: 114.1 kB / 272.5 MB, free: 4.746 MB / 254.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01014, allocations: 0 / 272.5 MB, free: 4.746 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.01037, allocations: 4 kB / 272.5 MB, free: 4.742 MB / 254.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.0001114/0.01048, allocations: 99.25 kB / 272.6 MB, free: 4.637 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01064, allocations: 39.86 kB / 272.6 MB, free: 4.598 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01064, allocations: 0 / 272.6 MB, free: 4.598 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 4.941e-05/0.01069, allocations: 15.98 kB / 272.6 MB, free: 4.582 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.01107, allocations: 25.14 kB / 272.6 MB, free: 4.555 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.01148, allocations: 205.5 kB / 272.8 MB, free: 4.32 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.884e-05/0.01158, allocations: 79.77 kB / 272.9 MB, free: 4.223 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 3.235e-05/0.01162, allocations: 8 kB / 272.9 MB, free: 4.215 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.01165, allocations: 12.5 kB / 272.9 MB, free: 4.203 MB / 254.1 MB Notification: Performance of SimCode: time 3.5e-07/0.01165, allocations: 0 / 272.9 MB, free: 4.203 MB / 254.1 MB Notification: Performance of Templates: time 0.003543/0.01519, allocations: 0.7608 MB / 273.7 MB, free: 3.461 MB / 254.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.28391183167696]