Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001285/0.001285, allocations: 105.2 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001405/0.001405, allocations: 221.2 kB / 23.76 MB, free: 4.723 MB / 14.72 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 1.374/1.374, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2166/0.2166, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 71.89 kB / 468.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1217, allocations: 61.03 MB / 0.5174 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002983/0.1247, allocations: 1.722 MB / 0.5191 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.126, allocations: 0.8312 MB / 0.5199 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.1261, allocations: 0 / 0.5199 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1264, allocations: 51.75 kB / 0.52 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1266, allocations: 63.75 kB / 0.52 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1268, allocations: 91.69 kB / 0.5201 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1271, allocations: 99.64 kB / 0.5202 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.1271, allocations: 8.219 kB / 0.5202 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/0.1272, allocations: 47.78 kB / 0.5203 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.1273, allocations: 31.84 kB / 0.5203 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1273, allocations: 4 kB / 0.5203 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.1274, allocations: 39.98 kB / 0.5203 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1275, allocations: 35.78 kB / 0.5204 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.1275, allocations: 47.61 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1278, allocations: 127.4 kB / 0.5205 GB, free: 3.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1278, allocations: 0 / 0.5205 GB, free: 3.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1278, allocations: 0 / 0.5205 GB, free: 3.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1278, allocations: 0 / 0.5205 GB, free: 3.559 MB / 398.1 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.0005536/0.1283, allocations: 369.4 kB / 0.5209 GB, free: 3.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1284, allocations: 12.03 kB / 0.5209 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1284, allocations: 12.84 kB / 0.5209 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1287, allocations: 162 kB / 0.5211 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1287, allocations: 8.312 kB / 0.5211 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1287, allocations: 8.125 kB / 0.5211 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1288, allocations: 57.67 kB / 0.5211 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1289, allocations: 0 / 0.5211 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.1289, allocations: 0 / 0.5211 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1289, allocations: 4 kB / 0.5211 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1289, allocations: 23.97 kB / 0.5212 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.1293, allocations: 267.9 kB / 0.5214 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1295, allocations: 54.62 kB / 0.5215 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.1296, allocations: 24.78 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1296, allocations: 4 kB / 0.5215 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.1297, allocations: 63.39 kB / 0.5216 GB, free: 2.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1297, allocations: 0 / 0.5216 GB, free: 2.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005357/0.1302, allocations: 185.3 kB / 0.5217 GB, free: 2.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1303, allocations: 55.41 kB / 0.5218 GB, free: 2.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1305, allocations: 263.5 kB / 0.522 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1306, allocations: 29.7 kB / 0.5221 GB, free: 1.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.1306, allocations: 112.1 kB / 0.5222 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1307, allocations: 27.78 kB / 0.5222 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.1307, allocations: 17.72 kB / 0.5222 GB, free: 1.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1308, allocations: 334.8 kB / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.1309, allocations: 23.92 kB / 0.5226 GB, free: 1.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.131, allocations: 37.7 kB / 0.5226 GB, free: 1.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1311, allocations: 57.7 kB / 0.5227 GB, free: 1.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1311, allocations: 0 / 0.5227 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.1313, allocations: 109.5 kB / 0.5228 GB, free: 1.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1313, allocations: 4.188 kB / 0.5228 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1313, allocations: 0 / 0.5228 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.1313, allocations: 7.938 kB / 0.5228 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.1314, allocations: 15.98 kB / 0.5228 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1314, allocations: 0 / 0.5228 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1315, allocations: 11.97 kB / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.1315, allocations: 0 / 0.5228 GB, free: 1.039 MB / 398.1 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 0.0001127/0.1316, allocations: 137.8 kB / 0.5229 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1316, allocations: 15.91 kB / 0.5229 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.1318, allocations: 123.2 kB / 0.5231 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1319, allocations: 0 / 0.5231 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1319, allocations: 384 / 0.5231 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1319, allocations: 7.922 kB / 0.5231 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.1323, allocations: 374.4 kB / 0.5234 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1323, allocations: 8 kB / 0.5234 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.1323, allocations: 7.938 kB / 0.5234 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1323, allocations: 4 kB / 0.5234 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1324, allocations: 7.922 kB / 0.5235 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1324, allocations: 3.938 kB / 0.5235 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1324, allocations: 4 kB / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1326, allocations: 204.3 kB / 0.5237 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.1326, allocations: 11.91 kB / 0.5237 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1326, allocations: 3.938 kB / 0.5237 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.1327, allocations: 7.984 kB / 0.5237 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1327, allocations: 8 kB / 0.5237 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1328, allocations: 4 kB / 0.5237 GB, free: 36 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.133, allocations: 199.3 kB / 0.5239 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.133, allocations: 7.938 kB / 0.5239 GB, free: 15.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1332, allocations: 23.94 kB / 0.5239 GB, free: 15.81 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001659/0.1349, allocations: 452.7 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.135, allocations: 59.91 kB / 0.5244 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.135, allocations: 3.938 kB / 0.5244 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.1351, allocations: 27.98 kB / 0.5244 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1354, allocations: 31.72 kB / 0.5245 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.136, allocations: 317.1 kB / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1363, allocations: 0.7237 MB / 0.5255 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.1364, allocations: 15.44 kB / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1364, allocations: 0 / 0.5255 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Templates: time 0.003879/0.1402, allocations: 2.066 MB / 0.5275 GB, free: 12.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.1729558010119945]