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.001125/0.001125, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002774, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001074/0.001074, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002455, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9108/0.9108, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08965/1, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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 1.322e-06/1.322e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.924e-05, allocations: 10.31 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002643/0.002662, allocations: 1.95 MB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.003608, allocations: 0.6854 MB / 247.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.00372, allocations: 15.81 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.66e-05/0.003817, allocations: 19.8 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.003906, allocations: 27.8 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.004175, allocations: 111.6 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.004341, allocations: 143.5 kB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004456, allocations: 46.61 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.004623, allocations: 99.67 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.004692, allocations: 35.89 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.004714, allocations: 12 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.893e-05/0.004773, allocations: 15.98 kB / 247.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.004811, allocations: 23.88 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.004847, allocations: 35.88 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.004992, allocations: 87.61 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.005005, allocations: 0 / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005006, allocations: 4 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.005017, allocations: 0 / 247.8 MB, free: 10.98 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.0004237/0.005441, allocations: 375.9 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.00547, allocations: 8.031 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.005613, allocations: 106 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.005804, allocations: 187 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.00582, allocations: 8.562 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.005832, allocations: 8.375 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.006097, allocations: 268.4 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006104, allocations: 4 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.006115, allocations: 4 kB / 248.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006121, allocations: 4 kB / 248.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.006157, allocations: 23.92 kB / 248.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.006397, allocations: 278.9 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.006558, allocations: 140.8 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.006611, allocations: 76.3 kB / 249.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.006633, allocations: 8 kB / 249.3 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.006653, allocations: 38.56 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.006655, allocations: 0 / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001847/0.00684, allocations: 117.5 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.006909, allocations: 166.6 kB / 249.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.006999, allocations: 174.5 kB / 249.8 MB, free: 8.777 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.007012, allocations: 25.7 kB / 249.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.007049, allocations: 100.5 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.007065, allocations: 11.89 kB / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.007094, allocations: 18.08 kB / 249.9 MB, free: 8.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.007167, allocations: 326.8 kB / 250.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.007177, allocations: 4 kB / 250.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.007206, allocations: 53.14 kB / 250.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.00724, allocations: 34.48 kB / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007242, allocations: 0 / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.503e-05/0.007297, allocations: 53.56 kB / 250.4 MB, free: 8.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.00731, allocations: 11.09 kB / 250.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007315, allocations: 4 kB / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.007323, allocations: 4 kB / 250.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.007377, allocations: 11.98 kB / 250.4 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.00738, allocations: 3.938 kB / 250.4 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.007408, allocations: 4 kB / 250.4 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.007412, allocations: 0 / 250.4 MB, free: 8.07 MB / 250.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 6.002e-05/0.007472, allocations: 124.6 kB / 250.6 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.007557, allocations: 93.47 kB / 250.6 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.007586, allocations: 17.47 kB / 250.7 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.007589, allocations: 8.031 kB / 250.7 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.007591, allocations: 0 / 250.7 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.007597, allocations: 7.984 kB / 250.7 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.007734, allocations: 101.7 kB / 250.8 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.007735, allocations: 0 / 250.8 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.007811, allocations: 43.92 kB / 250.8 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.007853, allocations: 31.77 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007855, allocations: 0 / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007863, allocations: 8 kB / 250.9 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007865, allocations: 0 / 250.9 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.007867, allocations: 4 kB / 250.9 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.007963, allocations: 237.3 kB / 251.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.00798, allocations: 7.938 kB / 251.1 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.008045, allocations: 8 kB / 251.1 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.008066, allocations: 3.984 kB / 251.1 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.008073, allocations: 8 kB / 251.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.393e-05/0.008107, allocations: 45.86 kB / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008107, allocations: 0 / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.008252, allocations: 20 kB / 251.2 MB, free: 7.258 MB / 250.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 8.245e-05/0.008335, allocations: 92.23 kB / 251.3 MB, free: 7.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.008414, allocations: 44.75 kB / 251.3 MB, free: 7.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.008419, allocations: 0 / 251.3 MB, free: 7.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.00843, allocations: 16.78 kB / 251.3 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.008737, allocations: 87.83 kB / 251.4 MB, free: 7.008 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.009456, allocations: 312.4 kB / 251.7 MB, free: 6.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.009504, allocations: 75.83 kB / 251.8 MB, free: 6.566 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.51e-05/0.009539, allocations: 13.14 kB / 251.8 MB, free: 6.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.009626, allocations: 83.34 kB / 251.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009627, allocations: 0 / 251.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of Templates: time 0.003312/0.01294, allocations: 1.997 MB / 253.9 MB, free: 4.52 MB / 250.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 -ignoreHideResult -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.5520982714369893]