Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.0009337/0.0009337, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001016/0.001016, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 18.57 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.863/0.863, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.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.1429/0.1429, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.417e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002051/0.002066, allocations: 1.739 MB / 300.9 MB, free: 380 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1202/0.1222, allocations: 0.8028 MB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.1223, allocations: 3.938 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1227, allocations: 108.8 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1229, allocations: 93.34 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1232, allocations: 87.97 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1234, allocations: 121.9 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.741e-05/0.1234, allocations: 12.02 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1235, allocations: 77.16 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1236, allocations: 56.08 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1237, allocations: 8.656 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.1238, allocations: 42.86 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.1238, allocations: 34.91 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.1238, allocations: 23.39 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.124, allocations: 121.4 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.124, allocations: 0.7812 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.124, allocations: 0.5156 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.124, allocations: 0.5312 kB / 302.5 MB, free: 19.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003411/0.1244, allocations: 349.5 kB / 302.8 MB, free: 18.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1244, allocations: 8.625 kB / 302.8 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1244, allocations: 13.25 kB / 302.8 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1246, allocations: 158.6 kB / 303 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1246, allocations: 1.438 kB / 303 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1246, allocations: 4.641 kB / 303 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.1247, allocations: 75.3 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1247, allocations: 3.938 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.1247, allocations: 2.625 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1247, allocations: 1.031 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.1247, allocations: 18.34 kB / 303.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.1249, allocations: 187.7 kB / 303.3 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.125, allocations: 93.11 kB / 303.4 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.125, allocations: 22.47 kB / 303.4 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.125, allocations: 1.344 kB / 303.4 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/0.1251, allocations: 69.97 kB / 303.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1251, allocations: 1.25 kB / 303.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002787/0.1254, allocations: 148.1 kB / 303.6 MB, free: 18.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.1254, allocations: 56.67 kB / 303.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.1255, allocations: 201.2 kB / 303.9 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1255, allocations: 30.86 kB / 303.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.1255, allocations: 96.92 kB / 304 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.1256, allocations: 39.8 kB / 304 MB, free: 17.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.1256, allocations: 26.64 kB / 304 MB, free: 17.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.768e-05/0.1256, allocations: 328.2 kB / 304.4 MB, free: 17.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.1256, allocations: 13.09 kB / 304.4 MB, free: 17.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.1257, allocations: 30.73 kB / 304.4 MB, free: 17.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.1257, allocations: 59.81 kB / 304.5 MB, free: 17.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1257, allocations: 5.656 kB / 304.5 MB, free: 17.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.926e-05/0.1258, allocations: 81.39 kB / 304.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.1258, allocations: 5.812 kB / 304.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1258, allocations: 0.5156 kB / 304.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1258, allocations: 1.25 kB / 304.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.1259, allocations: 26.94 kB / 304.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1259, allocations: 1.438 kB / 304.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.1259, allocations: 7.484 kB / 304.6 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1259, allocations: 2.312 kB / 304.6 MB, free: 17.55 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 (13): * Single equations (assignments): 13 * 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 4.182e-05/0.126, allocations: 122.5 kB / 304.7 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.126, allocations: 11.55 kB / 304.7 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1261, allocations: 111.3 kB / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1261, allocations: 1.219 kB / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1261, allocations: 0.6875 kB / 304.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1261, allocations: 7.844 kB / 304.8 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1263, allocations: 323.1 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1263, allocations: 0 / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1263, allocations: 15.28 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1263, allocations: 2 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1263, allocations: 7.625 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1263, allocations: 1.125 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1263, allocations: 1 kB / 305.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.083e-05/0.1264, allocations: 232.6 kB / 305.4 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.1264, allocations: 17.73 kB / 305.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1265, allocations: 8.062 kB / 305.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.1265, allocations: 3.297 kB / 305.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.1265, allocations: 12.58 kB / 305.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1265, allocations: 4.578 kB / 305.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.1266, allocations: 66.64 kB / 305.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1266, allocations: 0 / 305.5 MB, free: 16.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.1267, allocations: 30.02 kB / 305.6 MB, free: 16.91 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 (13): * Single equations (assignments): 11 * 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.001038/0.1278, allocations: 0.5857 MB / 306.1 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.1278, allocations: 61.38 kB / 306.2 MB, free: 16.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1279, allocations: 2.25 kB / 306.2 MB, free: 16.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.1279, allocations: 32.25 kB / 306.2 MB, free: 16.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.128, allocations: 37.12 kB / 306.3 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.1283, allocations: 266.5 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.1284, allocations: 73.48 kB / 306.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.24e-05/0.1284, allocations: 16.86 kB / 306.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.1285, allocations: 73.23 kB / 306.7 MB, free: 16.25 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1285, allocations: 0 / 306.7 MB, free: 16.25 MB / 282.7 MB Notification: Performance of Templates: time 0.00377/0.1322, allocations: 2.276 MB / 309 MB, free: 15.97 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.0567203359678388]