Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001343/0.001343, allocations: 80.8 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.001797/0.001797, allocations: 168.7 kB / 24.91 MB, free: 9.156 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2648/0.2648, allocations: 32.8 MB / 294.6 MB, free: 1.176 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.86e-05, allocations: 5.25 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002025/0.002044, allocations: 1.757 MB / 325.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003186, allocations: 1.005 MB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.003245, allocations: 0 / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.00356, allocations: 43.72 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.003778, allocations: 99.47 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.003904, allocations: 83.59 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.004043, allocations: 103.7 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.004108, allocations: 8.734 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.004191, allocations: 55.78 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.004252, allocations: 31.89 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.004265, allocations: 4 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.004327, allocations: 43.92 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.004368, allocations: 31.86 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.004397, allocations: 19.92 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.004532, allocations: 103.6 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004534, allocations: 0 / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.004534, allocations: 0 / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004537, allocations: 0 / 326.7 MB, free: 6.207 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.0004308/0.004968, allocations: 333.3 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.004999, allocations: 8.031 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.005033, allocations: 4.938 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005189, allocations: 150.1 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.005203, allocations: 4.375 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.005224, allocations: 8.359 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.005317, allocations: 65.7 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005327, allocations: 7.938 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.005335, allocations: 4 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005341, allocations: 0 / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.005362, allocations: 4 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.005536, allocations: 174 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.00562, allocations: 85.28 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.005638, allocations: 16.84 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.005649, allocations: 4 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.39e-05/0.005723, allocations: 66.09 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.005724, allocations: 0 / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002586/0.005983, allocations: 109.5 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.006009, allocations: 55.41 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.006106, allocations: 180.2 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006118, allocations: 25.7 kB / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.006145, allocations: 100.1 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.00617, allocations: 35.77 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.006196, allocations: 21.7 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.006262, allocations: 322.8 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.006275, allocations: 10.83 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.006297, allocations: 25.69 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.006338, allocations: 48.53 kB / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006338, allocations: 0 / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.513e-05/0.006404, allocations: 80.36 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.006414, allocations: 4 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006419, allocations: 8.016 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.00643, allocations: 4 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.00648, allocations: 15.94 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.006483, allocations: 0 / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.006508, allocations: 4 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.006512, allocations: 0 / 328.6 MB, free: 4.082 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 5.482e-05/0.006567, allocations: 123.3 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.006579, allocations: 11.88 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.076e-05/0.00667, allocations: 79.12 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006672, allocations: 0 / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.006674, allocations: 8.359 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006676, allocations: 0 / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.00686, allocations: 295.4 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.006862, allocations: 7.984 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.006885, allocations: 11.94 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006886, allocations: 0 / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006892, allocations: 4 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006892, allocations: 0 / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006893, allocations: 0 / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.587e-05/0.006979, allocations: 219 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.00699, allocations: 19.94 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.007003, allocations: 0 / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.007038, allocations: 4 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.007061, allocations: 3.984 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.007071, allocations: 8 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/0.007108, allocations: 52.69 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007108, allocations: 0 / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.00724, allocations: 27.94 kB / 329.5 MB, free: 3.156 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.001146/0.008386, allocations: 0.5755 MB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.00846, allocations: 40.78 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.008462, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.008492, allocations: 32.73 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.008652, allocations: 35.97 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.008926, allocations: 223.6 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.008963, allocations: 75.33 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.008995, allocations: 17.28 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.009052, allocations: 63.38 kB / 330.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009053, allocations: 0 / 330.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of Templates: time 0.003335/0.01239, allocations: 2.024 MB / 332.6 MB, free: 360 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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: 3.013292829040438]