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.001384/0.001384, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00154/0.00154, allocations: 169 kB / 24.91 MB, free: 8.723 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.9244/0.9244, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.202e-06/1.202e-06, allocations: 0 / 273.5 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.106e-05, allocations: 2.312 kB / 273.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001963/0.001984, allocations: 1.661 MB / 275.1 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.002637, allocations: 0.5628 MB / 275.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.002704, allocations: 4.812 kB / 275.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.002745, allocations: 3.938 kB / 275.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.002863, allocations: 20.55 kB / 275.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.003081, allocations: 63.69 kB / 275.8 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.346e-05/0.003165, allocations: 56.28 kB / 275.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.003229, allocations: 16.53 kB / 275.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.003324, allocations: 40.53 kB / 275.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.003365, allocations: 19.91 kB / 275.9 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.003378, allocations: 6.469 kB / 275.9 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.06e-05/0.003408, allocations: 4 kB / 275.9 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.003444, allocations: 19.92 kB / 275.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.00346, allocations: 11.94 kB / 276 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.723e-05/0.003557, allocations: 59.69 kB / 276 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003559, allocations: 0 / 276 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003559, allocations: 0 / 276 MB, free: 1.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.003562, allocations: 2.031 kB / 276 MB, free: 1.867 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.000272/0.003834, allocations: 284.5 kB / 276.3 MB, free: 1.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.517e-05/0.003859, allocations: 12.03 kB / 276.3 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.003943, allocations: 20.92 kB / 276.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.004072, allocations: 150.8 kB / 276.5 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.004079, allocations: 4.375 kB / 276.5 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.004087, allocations: 8.312 kB / 276.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.004228, allocations: 124 kB / 276.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.004235, allocations: 7.938 kB / 276.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.00424, allocations: 0 / 276.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004245, allocations: 3.984 kB / 276.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.004265, allocations: 19.94 kB / 276.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.004422, allocations: 166.8 kB / 276.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/0.004477, allocations: 82.42 kB / 276.9 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.004502, allocations: 35.47 kB / 276.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.004515, allocations: 0 / 276.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.004535, allocations: 46.44 kB / 277 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 5.81e-07/0.004535, allocations: 0 / 277 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001094/0.004645, allocations: 65.61 kB / 277 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.004698, allocations: 140.5 kB / 277.2 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.004763, allocations: 140.7 kB / 277.3 MB, free: 388 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.004772, allocations: 29.7 kB / 277.3 MB, free: 352 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.004798, allocations: 88.05 kB / 277.4 MB, free: 260 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.004811, allocations: 11.94 kB / 277.4 MB, free: 248 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.004831, allocations: 17.66 kB / 277.4 MB, free: 224 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.004902, allocations: 314.8 kB / 277.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.004908, allocations: 0.5 kB / 277.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.004922, allocations: 25.7 kB / 277.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.004944, allocations: 21.64 kB / 277.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004945, allocations: 0 / 277.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.819e-05/0.004984, allocations: 49.62 kB / 277.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.004992, allocations: 4 kB / 277.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.004996, allocations: 0 / 277.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.005004, allocations: 0 / 277.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.804e-05/0.005042, allocations: 7.938 kB / 277.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.005045, allocations: 8.125 kB / 277.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.00506, allocations: 0 / 277.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005064, allocations: 0 / 277.9 MB, free: 15.77 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 4.681e-05/0.005111, allocations: 116.7 kB / 278 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.005148, allocations: 49.56 kB / 278 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.005169, allocations: 11.97 kB / 278 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00517, allocations: 0 / 278 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.005173, allocations: 4 kB / 278 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005175, allocations: 0 / 278 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.618e-05/0.005261, allocations: 93.88 kB / 278.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005262, allocations: 0 / 278.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.005287, allocations: 11.98 kB / 278.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.00529, allocations: 7.938 kB / 278.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.005293, allocations: 0 / 278.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005294, allocations: 0 / 278.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005295, allocations: 4 kB / 278.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.34e-05/0.005359, allocations: 150.1 kB / 278.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.005385, allocations: 23.89 kB / 278.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.005393, allocations: 3.938 kB / 278.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.005426, allocations: 8.031 kB / 278.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.005444, allocations: 3.984 kB / 278.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005447, allocations: 4 kB / 278.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.005469, allocations: 32.02 kB / 278.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00547, allocations: 0 / 278.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001198/0.005589, allocations: 8 kB / 278.4 MB, free: 15.19 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 5.492e-05/0.005644, allocations: 80.36 kB / 278.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.77e-05/0.005692, allocations: 28.77 kB / 278.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005695, allocations: 8.125 kB / 278.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.005705, allocations: 8.797 kB / 278.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.005874, allocations: 37.02 kB / 278.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.006196, allocations: 204.3 kB / 278.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.006229, allocations: 63.34 kB / 278.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.006249, allocations: 4.312 kB / 278.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.006296, allocations: 63.36 kB / 278.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006297, allocations: 0 / 278.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of Templates: time 0.001931/0.008228, allocations: 0.7845 MB / 279.7 MB, free: 13.86 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.5094010969623923]