Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 104 kB / 16.27 MB, free: 6.043 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.001085/0.001085, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.703/1.703, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2587/0.2587, allocations: 43.51 MB / 313.9 MB, free: 0.543 MB / 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.001596/0.001597, allocations: 72.12 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1365, allocations: 57.78 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003195/0.1397, allocations: 1.951 MB / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1409, allocations: 0.7525 MB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.141, allocations: 4 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.1414, allocations: 267.2 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.1417, allocations: 199.3 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.1428, allocations: 0.5938 MB / 444.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.143, allocations: 295.3 kB / 444.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1432, allocations: 80.7 kB / 444.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1434, allocations: 139.4 kB / 444.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1436, allocations: 195.4 kB / 445 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.1436, allocations: 12 kB / 445 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1437, allocations: 67.92 kB / 445 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1439, allocations: 95.67 kB / 445.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.144, allocations: 111.1 kB / 445.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1442, allocations: 294.9 kB / 445.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1442, allocations: 4 kB / 445.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1442, allocations: 0 / 445.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1443, allocations: 0 / 445.5 MB, free: 1.883 MB / 318.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.0006043/0.1449, allocations: 0.6262 MB / 446.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1449, allocations: 11.89 kB / 446.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.145, allocations: 48.36 kB / 446.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1452, allocations: 302.3 kB / 446.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1453, allocations: 16.3 kB / 446.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.1453, allocations: 12.38 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1455, allocations: 138.5 kB / 446.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1455, allocations: 4 kB / 446.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1456, allocations: 0 / 446.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1456, allocations: 4 kB / 446.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1458, allocations: 87.94 kB / 446.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1463, allocations: 0.5003 MB / 447.3 MB, free: 0 / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1465, allocations: 106.5 kB / 447.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.1466, allocations: 40.83 kB / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.1467, allocations: 0 / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1467, allocations: 38.56 kB / 447.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 8.91e-07/0.1467, allocations: 4 kB / 447.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009997/0.1477, allocations: 443.9 kB / 447.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1478, allocations: 55.41 kB / 448 MB, free: 15.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.1483, allocations: 0.5211 MB / 448.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1483, allocations: 29.7 kB / 448.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1485, allocations: 196.3 kB / 448.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.1485, allocations: 59.14 kB / 448.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1486, allocations: 37.7 kB / 448.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1488, allocations: 350.8 kB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1489, allocations: 67.89 kB / 449.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.149, allocations: 68.73 kB / 449.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1493, allocations: 155.7 kB / 449.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1493, allocations: 7.938 kB / 449.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003904/0.1497, allocations: 225.1 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1498, allocations: 4 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1498, allocations: 0 / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1498, allocations: 0 / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1499, allocations: 35.92 kB / 449.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.15, allocations: 0 / 449.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.15, allocations: 11.89 kB / 449.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.15, allocations: 8 kB / 449.7 MB, free: 13.5 MB / 334.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.0001698/0.1502, allocations: 189.6 kB / 449.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.1503, allocations: 39.53 kB / 449.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.1508, allocations: 272.1 kB / 450.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1508, allocations: 4 kB / 450.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1508, allocations: 0 / 450.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1508, allocations: 7.984 kB / 450.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.1516, allocations: 0.6621 MB / 450.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1516, allocations: 7.984 kB / 450.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1517, allocations: 35.92 kB / 450.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1517, allocations: 0 / 450.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1518, allocations: 8 kB / 450.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1518, allocations: 0 / 450.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1518, allocations: 3.938 kB / 450.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.1522, allocations: 322.9 kB / 451.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.1523, allocations: 100.7 kB / 451.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1523, allocations: 7.984 kB / 451.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.1524, allocations: 11.98 kB / 451.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.1525, allocations: 23.83 kB / 451.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1525, allocations: 4 kB / 451.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003875/0.1529, allocations: 395.1 kB / 451.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 451.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1532, allocations: 48 kB / 451.8 MB, free: 11.28 MB / 334.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.001599/0.1548, allocations: 0.6943 MB / 452.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.1552, allocations: 179.8 kB / 452.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1552, allocations: 0 / 452.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1554, allocations: 87.89 kB / 452.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.156, allocations: 71.47 kB / 452.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.157, allocations: 0.6945 MB / 453.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1574, allocations: 0.8182 MB / 454.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.1575, allocations: 45.91 kB / 454.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.1576, allocations: 39.42 kB / 454.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1576, allocations: 0 / 454.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of Templates: time 0.006955/0.1646, allocations: 3.26 MB / 457.7 MB, free: 5.426 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches