Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.0008421/0.0008421, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002172, allocations: 452 kB / 10.43 MB, free: 264 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.0008252/0.0008252, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001956, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8845/0.8845, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1861/1.071, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1828/0.1828, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02612/0.2089, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.468e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002215/0.00224, allocations: 1.77 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.003912, allocations: 1.572 MB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.003976, allocations: 0 / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.004155, allocations: 43.64 kB / 270.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.004315, allocations: 59.64 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.00452, allocations: 95.58 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.00467, allocations: 95.69 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.004743, allocations: 16.23 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.004859, allocations: 71.77 kB / 271.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.004951, allocations: 27.91 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.004968, allocations: 4 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.005109, allocations: 63.91 kB / 271.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.005148, allocations: 11.94 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.005178, allocations: 15.94 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.005624, allocations: 103.6 kB / 271.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.005638, allocations: 3.984 kB / 271.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005639, allocations: 0 / 271.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.005648, allocations: 4 kB / 271.4 MB, free: 14.5 MB / 282.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.0003829/0.00603, allocations: 324 kB / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.006067, allocations: 8.031 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.006099, allocations: 8.922 kB / 271.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.006243, allocations: 137.6 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006258, allocations: 8.312 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.006276, allocations: 4.312 kB / 271.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.006406, allocations: 109.2 kB / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006415, allocations: 3.938 kB / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.00642, allocations: 0 / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006427, allocations: 11.98 kB / 272 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.00645, allocations: 6.828 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.006655, allocations: 162 kB / 272.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/0.006743, allocations: 93.28 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.006761, allocations: 12.84 kB / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.006771, allocations: 0 / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.777e-05/0.006858, allocations: 70.16 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.00686, allocations: 0 / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002848/0.007144, allocations: 125.4 kB / 272.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.007169, allocations: 55.41 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.007262, allocations: 148.3 kB / 272.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.007279, allocations: 29.7 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.007313, allocations: 92.11 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.007341, allocations: 19.8 kB / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.007376, allocations: 29.69 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.007457, allocations: 318.8 kB / 273.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.007475, allocations: 14.77 kB / 273.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.007514, allocations: 64.25 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.007564, allocations: 36.56 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007565, allocations: 4 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.314e-05/0.007648, allocations: 72.36 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007661, allocations: 8 kB / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.007665, allocations: 0 / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.007674, allocations: 0 / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.007745, allocations: 19.98 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.007748, allocations: 3.938 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.007779, allocations: 8 kB / 273.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.007784, allocations: 0 / 273.4 MB, free: 12.33 MB / 282.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 6.771e-05/0.007851, allocations: 120.7 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.007865, allocations: 11.92 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.007967, allocations: 74.52 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.00797, allocations: 4 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.007973, allocations: 7.922 kB / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.007976, allocations: 0 / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.008204, allocations: 291.4 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008206, allocations: 0 / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.008236, allocations: 12 kB / 273.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008247, allocations: 15.97 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008249, allocations: 0 / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.008255, allocations: 384 / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.00826, allocations: 4 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008261, allocations: 0 / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.008368, allocations: 223 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.008385, allocations: 0 / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.008431, allocations: 11.98 kB / 274.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.008461, allocations: 4 kB / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.008475, allocations: 3.984 kB / 274.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.008512, allocations: 35.67 kB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008512, allocations: 0 / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.008684, allocations: 27.94 kB / 274.2 MB, free: 11.43 MB / 282.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.001551/0.01024, allocations: 0.7069 MB / 274.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01034, allocations: 44.77 kB / 275 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.01035, allocations: 4 kB / 275 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.01038, allocations: 24.84 kB / 275 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.01065, allocations: 184.5 kB / 275.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.01124, allocations: 214.2 kB / 275.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.01129, allocations: 67.2 kB / 275.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.932e-05/0.01134, allocations: 20.92 kB / 275.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.01142, allocations: 71.36 kB / 275.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01142, allocations: 0 / 275.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of Templates: time 0.003813/0.01524, allocations: 2.333 MB / 277.9 MB, free: 7.672 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8169018924236298]