Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test20,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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001015, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001103/0.001103, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 55.88 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1238, allocations: 60.83 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004142/0.128, allocations: 1.966 MB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1299, allocations: 0.8456 MB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.1302, allocations: 0 / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.1309, allocations: 247.2 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.1315, allocations: 203.3 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.133, allocations: 483.6 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.1337, allocations: 283.3 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.1339, allocations: 64.58 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.1342, allocations: 131.5 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.1346, allocations: 195.4 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.1347, allocations: 8 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1349, allocations: 75.91 kB / 473.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1351, allocations: 83.73 kB / 473.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1352, allocations: 111.1 kB / 473.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.1358, allocations: 283.2 kB / 474.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1358, allocations: 0 / 474.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1358, allocations: 0 / 474.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.1358, allocations: 4 kB / 474.2 MB, free: 9.43 MB / 350.1 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.000994/0.1368, allocations: 0.6108 MB / 474.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1369, allocations: 12.03 kB / 474.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.137, allocations: 40.47 kB / 474.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.1376, allocations: 302.2 kB / 475.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1376, allocations: 8.375 kB / 475.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.1377, allocations: 12.38 kB / 475.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.138, allocations: 109.7 kB / 475.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.138, allocations: 0 / 475.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.138, allocations: 8 kB / 475.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1381, allocations: 0 / 475.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1383, allocations: 75.89 kB / 475.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.1392, allocations: 472.3 kB / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1394, allocations: 94.48 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1395, allocations: 36.84 kB / 475.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/0.1396, allocations: 7.984 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.1397, allocations: 34.56 kB / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.1397, allocations: 0 / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001158/0.1408, allocations: 376.1 kB / 476.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1409, allocations: 55.41 kB / 476.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.1416, allocations: 0.5209 MB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1416, allocations: 33.7 kB / 477 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1418, allocations: 192.4 kB / 477.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1418, allocations: 51.16 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.1419, allocations: 37.7 kB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1421, allocations: 346.8 kB / 477.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1422, allocations: 51.97 kB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1423, allocations: 54.62 kB / 477.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1426, allocations: 124.7 kB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1426, allocations: 3.938 kB / 477.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003492/0.143, allocations: 191 kB / 478 MB, free: 5.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.143, allocations: 4 kB / 478 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.143, allocations: 0 / 478 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.143, allocations: 11.98 kB / 478 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1432, allocations: 31.92 kB / 478 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1432, allocations: 0 / 478 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.1433, allocations: 19.86 kB / 478.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1433, allocations: 8 kB / 478.1 MB, free: 5.328 MB / 350.1 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.0002251/0.1436, allocations: 169.8 kB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.1437, allocations: 39.47 kB / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.1441, allocations: 233.3 kB / 478.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1441, allocations: 4 kB / 478.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1442, allocations: 0 / 478.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.1442, allocations: 3.984 kB / 478.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/0.145, allocations: 0.6061 MB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1451, allocations: 3.938 kB / 479.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1452, allocations: 43.91 kB / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1452, allocations: 0 / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1452, allocations: 4 kB / 479.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1452, allocations: 0 / 479.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1452, allocations: 3.938 kB / 479.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.1457, allocations: 291 kB / 479.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.1458, allocations: 104.6 kB / 479.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.1458, allocations: 0 / 479.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.1459, allocations: 11.98 kB / 479.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.146, allocations: 15.92 kB / 479.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.146, allocations: 4 kB / 479.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005023/0.1465, allocations: 387.1 kB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1465, allocations: 0 / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1469, allocations: 55.98 kB / 480 MB, free: 3.266 MB / 350.1 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.001889/0.1487, allocations: 0.6901 MB / 480.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1491, allocations: 139.9 kB / 480.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1491, allocations: 0 / 480.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1493, allocations: 78.47 kB / 480.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.1499, allocations: 77.27 kB / 481 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/0.1509, allocations: 0.6549 MB / 481.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1513, allocations: 0.8061 MB / 482.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1514, allocations: 53.75 kB / 482.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.1515, allocations: 27.44 kB / 482.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1515, allocations: 0 / 482.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Templates: time 0.007095/0.1586, allocations: 3.145 MB / 485.7 MB, free: 13.89 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches