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.0009915/0.0009915, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00109/0.00109, allocations: 169.3 kB / 24.82 MB, free: 8.863 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.9872/0.9872, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.723e-06/1.723e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.394e-05, allocations: 6.25 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002077/0.002101, allocations: 1.653 MB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.00287, allocations: 0.553 MB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.002949, allocations: 3.938 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.002992, allocations: 3.938 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.003124, allocations: 19.86 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.003374, allocations: 67.67 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.00347, allocations: 59.73 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.003562, allocations: 11.98 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.003684, allocations: 43.89 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.00373, allocations: 11.98 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.003744, allocations: 0 / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.003778, allocations: 8 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.003817, allocations: 23.91 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.003837, allocations: 11.94 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003951, allocations: 63.62 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-06/0.003953, allocations: 0 / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003953, allocations: 0 / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003957, allocations: 4 kB / 276 MB, free: 14.73 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.0003354/0.004292, allocations: 412.2 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004325, allocations: 12.03 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.004417, allocations: 24.88 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004556, allocations: 149 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.004563, allocations: 4.375 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.004571, allocations: 4.375 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.004751, allocations: 156.8 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.00476, allocations: 7.922 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.004766, allocations: 0 / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.004771, allocations: 4 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.00479, allocations: 11.92 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.005007, allocations: 275.5 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.323e-05/0.00508, allocations: 120.3 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.005109, allocations: 42.81 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.005125, allocations: 0 / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.005146, allocations: 41.33 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.005147, allocations: 0 / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001325/0.005279, allocations: 82 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.005333, allocations: 140.5 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.005427, allocations: 200.8 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.005438, allocations: 29.7 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.005485, allocations: 134.9 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.005502, allocations: 7.953 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.005526, allocations: 19.33 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.005637, allocations: 0.4923 MB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-06/0.005644, allocations: 0 / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.005661, allocations: 23.38 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.00569, allocations: 31.36 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.005693, allocations: 3.938 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.154e-05/0.005735, allocations: 37.7 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.005745, allocations: 6.5 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.005748, allocations: 0 / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.005756, allocations: 0 / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.183e-05/0.005798, allocations: 11.92 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.005801, allocations: 4 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.00582, allocations: 7.891 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.005824, allocations: 0 / 278.4 MB, free: 11.96 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 6.174e-05/0.005885, allocations: 168.6 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.005929, allocations: 53.58 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.005955, allocations: 15.97 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005956, allocations: 0 / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.005959, allocations: 7.938 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005962, allocations: 0 / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.006061, allocations: 105.2 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.006063, allocations: 7.984 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.006091, allocations: 8 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.006093, allocations: 8 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.006099, allocations: 4 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006099, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006101, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.006189, allocations: 222.9 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.006219, allocations: 27.86 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.006228, allocations: 0 / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.006264, allocations: 4 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.006285, allocations: 3.984 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.006289, allocations: 4 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.006338, allocations: 146.2 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006338, allocations: 0 / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.006479, allocations: 8 kB / 279.2 MB, free: 11.11 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.99e-05/0.006539, allocations: 99.23 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.854e-05/0.006598, allocations: 31.61 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006599, allocations: 0 / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.006613, allocations: 15.67 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.006841, allocations: 40.7 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.007201, allocations: 207.6 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.007238, allocations: 63.34 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.007261, allocations: 11.97 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.007324, allocations: 74.2 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.007324, allocations: 0 / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Templates: time 0.002162/0.009486, allocations: 0.8224 MB / 280.5 MB, free: 9.695 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.6379553070291877]