Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009851/0.0009852, allocations: 94.28 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3444/0.3444, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 52.16 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1117, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003504/0.1153, allocations: 2.017 MB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1165, allocations: 0.655 MB / 489.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1166, allocations: 0 / 489.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.1171, allocations: 239.5 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1174, allocations: 183.5 kB / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.1183, allocations: 419.3 kB / 490.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.1187, allocations: 263.3 kB / 490.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1188, allocations: 64.92 kB / 490.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.119, allocations: 123.5 kB / 490.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1192, allocations: 195.3 kB / 491.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.1192, allocations: 8 kB / 491.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1194, allocations: 59.98 kB / 491.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1195, allocations: 87.67 kB / 491.3 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1196, allocations: 107.1 kB / 491.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1199, allocations: 271 kB / 491.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1199, allocations: 0 / 491.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1199, allocations: 0 / 491.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.12, allocations: 3.938 kB / 491.7 MB, free: 7.871 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006492/0.1206, allocations: 0.6186 MB / 492.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1207, allocations: 8.031 kB / 492.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.1207, allocations: 40.45 kB / 492.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.121, allocations: 310.1 kB / 492.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.121, allocations: 8.375 kB / 492.6 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1211, allocations: 12.38 kB / 492.6 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.1213, allocations: 113.6 kB / 492.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1213, allocations: 0 / 492.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1213, allocations: 15.98 kB / 492.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1214, allocations: 0 / 492.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.1215, allocations: 67.95 kB / 492.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.1221, allocations: 468.3 kB / 493.3 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1223, allocations: 102.5 kB / 493.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.1223, allocations: 32.84 kB / 493.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1224, allocations: 3.984 kB / 493.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1224, allocations: 42.56 kB / 493.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.1224, allocations: 0 / 493.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008315/0.1233, allocations: 372.1 kB / 493.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1233, allocations: 51.41 kB / 493.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.1238, allocations: 0.5171 MB / 494.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1238, allocations: 29.7 kB / 494.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.124, allocations: 196.3 kB / 494.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.124, allocations: 55.16 kB / 494.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.1241, allocations: 37.7 kB / 494.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1242, allocations: 350.8 kB / 495.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1243, allocations: 43.98 kB / 495.1 MB, free: 4.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1244, allocations: 51.97 kB / 495.2 MB, free: 4.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1247, allocations: 124.4 kB / 495.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1247, allocations: 3.938 kB / 495.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003167/0.125, allocations: 197.1 kB / 495.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.125, allocations: 4 kB / 495.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.125, allocations: 0 / 495.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1251, allocations: 0 / 495.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1252, allocations: 39.91 kB / 495.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1252, allocations: 0 / 495.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.1253, allocations: 11.94 kB / 495.5 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1253, allocations: 4 kB / 495.5 MB, free: 3.766 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001412/0.1255, allocations: 177.7 kB / 495.7 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.1255, allocations: 43.52 kB / 495.7 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.126, allocations: 233.3 kB / 496 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.126, allocations: 4 kB / 496 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.126, allocations: 0 / 496 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.126, allocations: 3.938 kB / 496 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.1267, allocations: 0.6036 MB / 496.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1267, allocations: 0 / 496.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1268, allocations: 31.98 kB / 496.6 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1268, allocations: 4 kB / 496.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1269, allocations: 8 kB / 496.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1269, allocations: 0 / 496.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1269, allocations: 3.938 kB / 496.6 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.1277, allocations: 0.9686 MB / 497.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.1277, allocations: 100.7 kB / 497.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.1278, allocations: 4 kB / 497.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.1279, allocations: 11.98 kB / 497.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1279, allocations: 19.83 kB / 497.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.128, allocations: 4 kB / 497.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003383/0.1283, allocations: 395.1 kB / 498.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1283, allocations: 0 / 498.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.1287, allocations: 48 kB / 498.2 MB, free: 0.9766 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.001386/0.1301, allocations: 0.691 MB / 498.9 MB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.1304, allocations: 143.8 kB / 499 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1304, allocations: 3.938 kB / 499 MB, free: 196 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.1305, allocations: 75.91 kB / 499.1 MB, free: 120 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.1311, allocations: 69.25 kB / 499.1 MB, free: 52 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1323, allocations: 0.9169 MB / 0.4883 GB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1328, allocations: 0.8063 MB / 0.4891 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1329, allocations: 49.91 kB / 0.4892 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.133, allocations: 31.42 kB / 0.4892 GB, free: 14.18 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.133, allocations: 0 / 0.4892 GB, free: 14.18 MB / 394.7 MB Notification: Performance of Templates: time 0.006362/0.1394, allocations: 3.084 MB / 0.4922 GB, free: 11.1 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches