Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.0009917/0.0009917, allocations: 80.8 kB / 21.5 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.001055/0.001055, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9478/0.9478, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.247/0.247, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 323.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.319e-05, allocations: 7.016 kB / 323.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002735/0.002758, allocations: 1.802 MB / 325.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.004044, allocations: 1.009 MB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.004116, allocations: 3.938 kB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.004374, allocations: 39.77 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.004626, allocations: 91.44 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.004776, allocations: 75.66 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.004921, allocations: 115.6 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.005001, allocations: 8.75 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.005086, allocations: 55.83 kB / 326.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.005156, allocations: 23.91 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.005171, allocations: 4 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-05/0.005247, allocations: 47.92 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.005294, allocations: 19.86 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.005332, allocations: 23.92 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.005514, allocations: 107.6 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005516, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005517, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.005521, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003712/0.005892, allocations: 333.3 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.005926, allocations: 8.031 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.005955, allocations: 4.938 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.006107, allocations: 159.4 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.00612, allocations: 384 / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.006137, allocations: 8.359 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.172e-05/0.006228, allocations: 61.77 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.006237, allocations: 3.938 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.006243, allocations: 0 / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.006248, allocations: 4 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.00627, allocations: 8 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.006473, allocations: 162 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.006559, allocations: 93.28 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.00658, allocations: 12.84 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.00659, allocations: 0 / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.914e-05/0.006669, allocations: 66.16 kB / 327.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.00667, allocations: 0 / 327.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002752/0.006945, allocations: 113.5 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.006976, allocations: 59.41 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.007087, allocations: 180.8 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.0071, allocations: 25.7 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.007132, allocations: 92.11 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.007159, allocations: 27.78 kB / 328.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.007193, allocations: 25.7 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.007284, allocations: 326.8 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.0073, allocations: 10.77 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.007326, allocations: 25.7 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.007375, allocations: 36.52 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.007377, allocations: 4 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.597e-05/0.007453, allocations: 72.38 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.007469, allocations: 8 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007474, allocations: 0 / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.007487, allocations: 0 / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.007553, allocations: 15.98 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.007556, allocations: 4 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.007586, allocations: 12.31 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007593, allocations: 4 kB / 328.7 MB, free: 4.047 MB / 298.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.499e-05/0.007668, allocations: 124.6 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.00768, allocations: 11.92 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.007787, allocations: 83.05 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.00779, allocations: 4 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.007791, allocations: 0 / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.007795, allocations: 0 / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.008013, allocations: 295.4 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008014, allocations: 4 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.008038, allocations: 8 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008041, allocations: 3.984 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.008047, allocations: 4.031 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008048, allocations: 4 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008049, allocations: 0 / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.008153, allocations: 219 kB / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.008163, allocations: 7.953 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.008179, allocations: 7.984 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.008216, allocations: 4 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.008244, allocations: 7.984 kB / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.008255, allocations: 4 kB / 329.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.008302, allocations: 47.64 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008302, allocations: 4 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.008443, allocations: 27.94 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001214/0.009657, allocations: 0.568 MB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.009742, allocations: 52.77 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.009745, allocations: 0 / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.009777, allocations: 28.78 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.00995, allocations: 35.91 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.01024, allocations: 215.7 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.01028, allocations: 67.34 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.77e-05/0.01032, allocations: 21.39 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.01038, allocations: 71.34 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01038, allocations: 0 / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of Templates: time 0.003413/0.01379, allocations: 2.019 MB / 332.6 MB, free: 336 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.8117020139470696]