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.001251/0.001251, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001313/0.001313, allocations: 191 kB / 19.34 MB, free: 3.766 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.476/1.476, allocations: 222.9 MB / 243 MB, free: 15.09 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.2502/0.2502, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 60.81 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1326, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002983/0.1357, allocations: 1.855 MB / 472.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1371, allocations: 0.9314 MB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.1372, allocations: 8 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.1376, allocations: 251.2 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.1379, allocations: 191.3 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.1391, allocations: 0.6279 MB / 474.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.1394, allocations: 279.3 kB / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1396, allocations: 52.31 kB / 474.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1397, allocations: 131.5 kB / 475 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1399, allocations: 183.5 kB / 475.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1399, allocations: 7.938 kB / 475.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.14, allocations: 55.91 kB / 475.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1401, allocations: 95.67 kB / 475.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.1402, allocations: 95.17 kB / 475.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.1405, allocations: 267 kB / 475.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1405, allocations: 4 kB / 475.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1405, allocations: 0 / 475.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1405, allocations: 0 / 475.7 MB, free: 8.668 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.0006016/0.1411, allocations: 0.5952 MB / 476.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1412, allocations: 8.031 kB / 476.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.1413, allocations: 36.47 kB / 476.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.1416, allocations: 302.3 kB / 476.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1416, allocations: 8.375 kB / 476.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1416, allocations: 8.359 kB / 476.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1418, allocations: 103.2 kB / 476.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1418, allocations: 0 / 476.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1418, allocations: 4 kB / 476.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1418, allocations: 4 kB / 476.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.142, allocations: 71.94 kB / 476.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.1425, allocations: 448.4 kB / 477.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1427, allocations: 66.55 kB / 477.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.1427, allocations: 32.97 kB / 477.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1428, allocations: 11.98 kB / 477.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1428, allocations: 34.5 kB / 477.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1428, allocations: 0 / 477.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003102/0.1431, allocations: 145.3 kB / 477.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1432, allocations: 59.34 kB / 477.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.1436, allocations: 0.5211 MB / 478.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1437, allocations: 29.7 kB / 478.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1438, allocations: 192.1 kB / 478.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1438, allocations: 19.72 kB / 478.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1438, allocations: 17.72 kB / 478.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.144, allocations: 346.8 kB / 478.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.144, allocations: 27.92 kB / 478.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.1441, allocations: 31.97 kB / 478.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1442, allocations: 65.14 kB / 478.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1442, allocations: 4 kB / 478.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001797/0.1444, allocations: 125.3 kB / 479 MB, free: 5.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1444, allocations: 4 kB / 479 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1444, allocations: 0 / 479 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1444, allocations: 0 / 479 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.1445, allocations: 23.92 kB / 479 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1445, allocations: 3.938 kB / 479 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.1446, allocations: 11.84 kB / 479 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1446, allocations: 0 / 479 MB, free: 5.133 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.0001229/0.1447, allocations: 177.7 kB / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.1448, allocations: 31.53 kB / 479.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.1451, allocations: 144.8 kB / 479.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1451, allocations: 3.938 kB / 479.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1451, allocations: 0 / 479.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1451, allocations: 0 / 479.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.1453, allocations: 277.5 kB / 479.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1453, allocations: 4 kB / 479.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.1454, allocations: 19.98 kB / 479.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1454, allocations: 0 / 479.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1454, allocations: 3.938 kB / 479.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1454, allocations: 7.938 kB / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1454, allocations: 0 / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1457, allocations: 219 kB / 479.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.1457, allocations: 92.83 kB / 480 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1458, allocations: 4 kB / 480 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.1458, allocations: 8.125 kB / 480 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1459, allocations: 11.98 kB / 480 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1459, allocations: 0 / 480 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.1462, allocations: 403.1 kB / 480.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.514e-06/0.1462, allocations: 0 / 480.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1465, allocations: 39.78 kB / 480.4 MB, free: 3.613 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.001251/0.1477, allocations: 0.5892 MB / 481 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1479, allocations: 67.89 kB / 481.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1479, allocations: 0 / 481.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.148, allocations: 27.98 kB / 481.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.1485, allocations: 76.61 kB / 481.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.1492, allocations: 0.603 MB / 481.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1496, allocations: 0.806 MB / 482.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.726e-05/0.1497, allocations: 53.66 kB / 482.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.1497, allocations: 19.44 kB / 482.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1497, allocations: 0 / 482.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Templates: time 0.1489/0.2987, allocations: 2.649 MB / 485.3 MB, free: 14.95 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/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