Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001152/0.001152, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001288/0.001288, allocations: 170 kB / 25.61 MB, free: 8.582 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.9821/0.9821, allocations: 177.1 MB / 206 MB, free: 4.508 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.914e-05, allocations: 10.19 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.005707/0.005737, allocations: 1.878 MB / 276.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.007086, allocations: 0.6767 MB / 276.8 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.007223, allocations: 7.938 kB / 276.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.007381, allocations: 19.8 kB / 276.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.007525, allocations: 27.73 kB / 276.8 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.007954, allocations: 116.8 kB / 276.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.008155, allocations: 147.5 kB / 277.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.008303, allocations: 45.89 kB / 277.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.008507, allocations: 81.02 kB / 277.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.00859, allocations: 39.88 kB / 277.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.008618, allocations: 12 kB / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.008671, allocations: 12.75 kB / 277.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.008727, allocations: 31.86 kB / 277.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.008772, allocations: 39.84 kB / 277.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.008981, allocations: 95.59 kB / 277.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.008986, allocations: 4 kB / 277.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008986, allocations: 0 / 277.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.00899, allocations: 0 / 277.4 MB, free: 1.168 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005273/0.009517, allocations: 483.9 kB / 277.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.009555, allocations: 8.031 kB / 277.9 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.009724, allocations: 32.84 kB / 277.9 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.009996, allocations: 200.9 kB / 278.1 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.01002, allocations: 8.562 kB / 278.1 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.01004, allocations: 12.38 kB / 278.1 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.01044, allocations: 283.9 kB / 278.4 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01045, allocations: 0 / 278.4 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.01046, allocations: 4 kB / 278.4 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.01047, allocations: 4 kB / 278.4 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.01053, allocations: 27.92 kB / 278.5 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.01097, allocations: 430.2 kB / 278.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.01124, allocations: 199.3 kB / 279.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.01134, allocations: 82.52 kB / 279.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.01136, allocations: 4 kB / 279.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.01139, allocations: 53.27 kB / 279.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.01139, allocations: 0 / 279.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003093/0.0117, allocations: 137.4 kB / 279.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.01181, allocations: 191.9 kB / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01196, allocations: 230.5 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01198, allocations: 29.7 kB / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.01205, allocations: 147.2 kB / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.01207, allocations: 7.938 kB / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.01212, allocations: 27.7 kB / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01226, allocations: 0.5039 MB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.01228, allocations: 4 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.01233, allocations: 72.55 kB / 280.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.01238, allocations: 35.06 kB / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.01239, allocations: 3.938 kB / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.618e-05/0.01248, allocations: 57.52 kB / 280.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.0125, allocations: 8.125 kB / 280.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.0125, allocations: 4 kB / 280.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01251, allocations: 0 / 280.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.01258, allocations: 15.98 kB / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.01259, allocations: 0 / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.01264, allocations: 4 kB / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.01264, allocations: 0 / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.458e-05/0.01274, allocations: 164.5 kB / 280.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.01292, allocations: 101.5 kB / 280.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.01296, allocations: 29.45 kB / 281 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01297, allocations: 4.031 kB / 281 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.01297, allocations: 8 kB / 281 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01298, allocations: 0 / 281 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.0132, allocations: 133.1 kB / 281.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.01321, allocations: 7.938 kB / 281.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.01334, allocations: 39.91 kB / 281.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.01334, allocations: 3.938 kB / 281.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01336, allocations: 8 kB / 281.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01336, allocations: 0 / 281.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.01337, allocations: 4 kB / 281.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.01356, allocations: 350 kB / 281.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.01363, allocations: 31.77 kB / 281.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.01366, allocations: 8 kB / 281.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.0138, allocations: 11.98 kB / 281.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.01383, allocations: 0 / 281.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01384, allocations: 8 kB / 281.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003836/0.01422, allocations: 168.2 kB / 281.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01423, allocations: 0 / 281.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000316/0.01454, allocations: 16 kB / 281.7 MB, free: 12.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001068/0.01465, allocations: 107.2 kB / 281.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01478, allocations: 44.14 kB / 281.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01478, allocations: 0 / 281.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.0148, allocations: 11.69 kB / 281.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.01535, allocations: 101.8 kB / 282 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.01602, allocations: 310.5 kB / 282.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.919e-05/0.01609, allocations: 83.81 kB / 282.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.446e-05/0.01613, allocations: 9.422 kB / 282.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.01626, allocations: 110.2 kB / 282.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01626, allocations: 0 / 282.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.00513/0.02139, allocations: 1.97 MB / 284.5 MB, free: 9.602 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.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.6963020619004965]