Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001722/0.001721, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.452/1.452, allocations: 222.9 MB / 241.9 MB, free: 13.79 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.2446/0.2446, allocations: 44.19 MB / 336.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.02 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1212, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003791/0.1251, allocations: 1.921 MB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1268, allocations: 0.9004 MB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1269, allocations: 3.938 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.1275, allocations: 247.5 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.1279, allocations: 175.5 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1293, allocations: 0.6039 MB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.1298, allocations: 283.2 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.1301, allocations: 56.59 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.1303, allocations: 123.5 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.1307, allocations: 187.4 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.1307, allocations: 8 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1309, allocations: 51.97 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1311, allocations: 87.69 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1313, allocations: 107.1 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.1318, allocations: 255.1 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1318, allocations: 0 / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1318, allocations: 0 / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1318, allocations: 0 / 473.7 MB, free: 9.742 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001137/0.133, allocations: 0.5912 MB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.7e-05/0.133, allocations: 16.02 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1332, allocations: 36.47 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.1336, allocations: 302.3 kB / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1337, allocations: 4.375 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.1337, allocations: 8.375 kB / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.1341, allocations: 100.8 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1341, allocations: 0 / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.1341, allocations: 8 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1342, allocations: 0 / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1344, allocations: 67.95 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.1353, allocations: 456.3 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1355, allocations: 78.47 kB / 475.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.1355, allocations: 40.89 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1356, allocations: 4 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1356, allocations: 42.5 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1356, allocations: 0 / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003613/0.136, allocations: 145.3 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.136, allocations: 55.34 kB / 475.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.1366, allocations: 0.5211 MB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1366, allocations: 25.7 kB / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1368, allocations: 192.1 kB / 476.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1368, allocations: 23.7 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1369, allocations: 21.66 kB / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.137, allocations: 350.8 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.1371, allocations: 23.98 kB / 476.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.1372, allocations: 23.98 kB / 476.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1373, allocations: 68.81 kB / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1373, allocations: 0 / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001991/0.1375, allocations: 125.3 kB / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1375, allocations: 4 kB / 477 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1376, allocations: 0 / 477 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1376, allocations: 4 kB / 477 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.1377, allocations: 15.88 kB / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1377, allocations: 0 / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.1378, allocations: 15.83 kB / 477 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1378, allocations: 0 / 477 MB, free: 6.195 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 (6): * Single equations (assignments): 6 * 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.0002094/0.138, allocations: 169.8 kB / 477.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.1381, allocations: 39.53 kB / 477.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.1384, allocations: 141.2 kB / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1385, allocations: 7.938 kB / 477.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1385, allocations: 4.062 kB / 477.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1385, allocations: 0 / 477.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.1389, allocations: 281.5 kB / 477.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1389, allocations: 0 / 477.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.1389, allocations: 11.94 kB / 477.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1389, allocations: 8 kB / 477.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.139, allocations: 0 / 477.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.139, allocations: 7.922 kB / 477.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.139, allocations: 0 / 477.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.1393, allocations: 223 kB / 477.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.663e-05/0.1394, allocations: 96.83 kB / 478 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1395, allocations: 0 / 478 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.1395, allocations: 7.938 kB / 478 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.1396, allocations: 11.98 kB / 478 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1396, allocations: 7.938 kB / 478 MB, free: 5.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004754/0.1401, allocations: 391.1 kB / 478.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.324e-06/0.1401, allocations: 0 / 478.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1404, allocations: 43.77 kB / 478.4 MB, free: 4.676 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 (6): * Single equations (assignments): 6 * 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.001312/0.1417, allocations: 0.5935 MB / 479 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1419, allocations: 71.95 kB / 479.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.142, allocations: 0 / 479.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.142, allocations: 35.92 kB / 479.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.1426, allocations: 70.44 kB / 479.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1437, allocations: 0.6849 MB / 479.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1441, allocations: 0.8021 MB / 480.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1442, allocations: 45.48 kB / 480.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.1443, allocations: 27.42 kB / 480.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1443, allocations: 0 / 480.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Templates: time 0.0062/0.1505, allocations: 2.622 MB / 483.4 MB, free: 15.96 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches