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.0009955/0.0009955, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009744/0.0009744, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9514/0.9514, allocations: 177.1 MB / 205 MB, free: 5.605 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.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.763e-06/1.763e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.473e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002185/0.00221, allocations: 1.669 MB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007158/0.002926, allocations: 0.5567 MB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.002996, allocations: 7.938 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.003036, allocations: 7.938 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.003147, allocations: 15.86 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.003376, allocations: 63.73 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.003467, allocations: 51.8 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.003546, allocations: 19.92 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.003657, allocations: 39.89 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.003696, allocations: 15.92 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.00371, allocations: 4 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.003744, allocations: 11.98 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.003781, allocations: 19.92 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.003802, allocations: 15.94 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.003916, allocations: 51.75 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003919, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003919, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003923, allocations: 3.938 kB / 275.5 MB, free: 14.95 MB / 266.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.0003346/0.004258, allocations: 420.2 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.004288, allocations: 8.031 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.004412, allocations: 24.88 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.00457, allocations: 157 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.004578, allocations: 4.375 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.004586, allocations: 384 / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.004802, allocations: 152.9 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004809, allocations: 3.938 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.004818, allocations: 4 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.004825, allocations: 0 / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.004853, allocations: 19.92 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.005168, allocations: 286.9 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.005253, allocations: 120.2 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.005293, allocations: 50.8 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.005311, allocations: 4 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.005335, allocations: 37.39 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.005337, allocations: 7.922 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001554/0.005492, allocations: 81.52 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.005543, allocations: 136.4 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.005632, allocations: 201.1 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005642, allocations: 29.7 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.005687, allocations: 138.9 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.005703, allocations: 7.938 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.005731, allocations: 27.33 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.005826, allocations: 0.4927 MB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.005837, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.005852, allocations: 23.38 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.005882, allocations: 19.38 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005885, allocations: 4 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.471e-05/0.005939, allocations: 45.62 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.005954, allocations: 8 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005958, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005968, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.006023, allocations: 8.125 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006027, allocations: 4 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.006046, allocations: 11.88 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.006052, allocations: 4 kB / 278 MB, free: 12.12 MB / 266.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 5.604e-05/0.006108, allocations: 160.5 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.006159, allocations: 61.64 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.006183, allocations: 7.969 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006185, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.006188, allocations: 0 / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006192, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.006302, allocations: 140.6 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006304, allocations: 3.938 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.006339, allocations: 8 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.006342, allocations: 4 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006349, allocations: 3.984 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006351, allocations: 0 / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006352, allocations: 4 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.006469, allocations: 238.8 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.006498, allocations: 19.94 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.006511, allocations: 7.938 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.006543, allocations: 4 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.006572, allocations: 11.98 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.006575, allocations: 0 / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.006626, allocations: 143.2 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006626, allocations: 0 / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.006766, allocations: 11.95 kB / 278.9 MB, free: 11.22 MB / 266.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 7.144e-05/0.006838, allocations: 99.23 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.006915, allocations: 27.56 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006917, allocations: 4.125 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.006933, allocations: 15.69 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.007183, allocations: 36.33 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.007615, allocations: 199.7 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.646e-05/0.007652, allocations: 67.28 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.325e-05/0.007675, allocations: 8.375 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.007704, allocations: 20.48 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007705, allocations: 0 / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of Templates: time 0.002697/0.0104, allocations: 0.7911 MB / 280.1 MB, free: 9.898 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] 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","",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.6089068478904665]