Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 107.1 kB / 17.09 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 198.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1964/0.1964, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 71.89 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003983/0.1209, allocations: 1.788 MB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1227, allocations: 0.8754 MB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1229, allocations: 4 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.1235, allocations: 303.3 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.1241, allocations: 211.3 kB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.1245, allocations: 143.7 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.1249, allocations: 231.4 kB / 0.4921 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.125, allocations: 21.52 kB / 0.4921 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.1253, allocations: 127.6 kB / 0.4922 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1255, allocations: 192 kB / 0.4924 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.1256, allocations: 4 kB / 0.4924 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1257, allocations: 47.98 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1259, allocations: 128.6 kB / 0.4925 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.1261, allocations: 150.8 kB / 0.4927 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.1265, allocations: 358.7 kB / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1265, allocations: 0 / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1265, allocations: 0 / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1265, allocations: 0 / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001036/0.1276, allocations: 0.7152 MB / 0.4937 GB, free: 6.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.1276, allocations: 11.89 kB / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1277, allocations: 44.38 kB / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.1284, allocations: 451.8 kB / 0.4942 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1284, allocations: 4.375 kB / 0.4942 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1284, allocations: 4.125 kB / 0.4942 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1287, allocations: 83.36 kB / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1287, allocations: 4 kB / 0.4943 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1287, allocations: 0 / 0.4943 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1287, allocations: 0 / 0.4943 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1288, allocations: 35.91 kB / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1293, allocations: 378.3 kB / 0.4947 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.1296, allocations: 105.2 kB / 0.4948 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.1297, allocations: 45.64 kB / 0.4948 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1297, allocations: 0 / 0.4948 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.1299, allocations: 109 kB / 0.495 GB, free: 5.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.1299, allocations: 3.984 kB / 0.495 GB, free: 5.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004916/0.1304, allocations: 193.1 kB / 0.4951 GB, free: 4.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1305, allocations: 85.05 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1316, allocations: 1.014 MB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1316, allocations: 29.7 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1318, allocations: 224.1 kB / 0.4965 GB, free: 3.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.1319, allocations: 31.62 kB / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.1319, allocations: 29.7 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1321, allocations: 366.8 kB / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.792e-05/0.1322, allocations: 31.98 kB / 0.4969 GB, free: 2.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/0.1323, allocations: 51.92 kB / 0.4969 GB, free: 2.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1324, allocations: 95.34 kB / 0.497 GB, free: 2.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1325, allocations: 0 / 0.497 GB, free: 2.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003039/0.1328, allocations: 165 kB / 0.4972 GB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1328, allocations: 8 kB / 0.4972 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1328, allocations: 3.938 kB / 0.4972 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1328, allocations: 0 / 0.4972 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.133, allocations: 27.92 kB / 0.4972 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.133, allocations: 0 / 0.4972 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1331, allocations: 15.89 kB / 0.4972 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1331, allocations: 7.984 kB / 0.4973 GB, free: 2.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002025/0.1333, allocations: 225.8 kB / 0.4975 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.1334, allocations: 55.27 kB / 0.4975 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.438e-05/0.1335, allocations: 59.84 kB / 0.4976 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1335, allocations: 0 / 0.4976 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1335, allocations: 3.938 kB / 0.4976 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1336, allocations: 136.5 kB / 0.4977 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.1337, allocations: 4 kB / 0.4977 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.1338, allocations: 8 kB / 0.4977 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.1338, allocations: 15.92 kB / 0.4977 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003213/0.1341, allocations: 284.3 kB / 0.498 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000378/0.1345, allocations: 413.5 kB / 0.4984 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.443e-05/0.1346, allocations: 39.92 kB / 0.4984 GB, free: 1.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000756/0.1354, allocations: 0.7526 MB / 0.4992 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of Backend: time 5.51e-07/0.1354, allocations: 0 / 0.4992 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.1371, allocations: 0.5994 MB / 0.4998 GB, free: 15.99 MB / 398.1 MB Notification: Performance of SimCode: time 0.001413/0.1385, allocations: 1.231 MB / 0.501 GB, free: 14.71 MB / 398.1 MB Notification: Performance of Templates: time 0.008206/0.1468, allocations: 3.934 MB / 0.5048 GB, free: 10.78 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches