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.00116/0.00116, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.00104/0.00104, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.313/1.313, allocations: 222.9 MB / 242.6 MB, free: 15.44 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.2028/0.2028, allocations: 44.18 MB / 336.9 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 71.55 kB / 408.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 60.82 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003044/0.1253, allocations: 2.008 MB / 471.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1267, allocations: 0.8379 MB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.1268, allocations: 7.938 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.1272, allocations: 243.4 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1275, allocations: 171.5 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.1284, allocations: 451 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1287, allocations: 283.2 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1289, allocations: 76.55 kB / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.129, allocations: 127.5 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1292, allocations: 203.3 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1293, allocations: 8 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1294, allocations: 71.97 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1295, allocations: 91.67 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.1296, allocations: 103.1 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1299, allocations: 223.8 kB / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.1299, allocations: 0 / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1299, allocations: 0 / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1299, allocations: 0 / 474.2 MB, free: 9.879 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.0006603/0.1306, allocations: 0.6108 MB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1306, allocations: 8.031 kB / 474.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.1307, allocations: 36.47 kB / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.131, allocations: 306.2 kB / 475.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.131, allocations: 8.375 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.131, allocations: 12.38 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1313, allocations: 109.8 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1313, allocations: 0 / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1313, allocations: 7.938 kB / 475.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1313, allocations: 7.938 kB / 475.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1315, allocations: 75.89 kB / 475.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.1321, allocations: 476.3 kB / 475.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1322, allocations: 94.55 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.1323, allocations: 40.72 kB / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1323, allocations: 0 / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1324, allocations: 34.56 kB / 476 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 8.31e-07/0.1324, allocations: 7.938 kB / 476 MB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008582/0.1333, allocations: 380.1 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1333, allocations: 55.39 kB / 476.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.1338, allocations: 0.5171 MB / 477 MB, free: 6.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1339, allocations: 29.7 kB / 477 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.134, allocations: 188.4 kB / 477.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.134, allocations: 55.17 kB / 477.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.1341, allocations: 33.7 kB / 477.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1342, allocations: 354.8 kB / 477.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1344, allocations: 47.97 kB / 477.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1345, allocations: 55.97 kB / 477.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1347, allocations: 127.3 kB / 477.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1347, allocations: 3.938 kB / 477.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003057/0.135, allocations: 189.2 kB / 478.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.135, allocations: 8 kB / 478.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.135, allocations: 0 / 478.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1351, allocations: 0 / 478.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1352, allocations: 35.92 kB / 478.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1352, allocations: 0 / 478.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.1353, allocations: 15.92 kB / 478.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1353, allocations: 4 kB / 478.1 MB, free: 5.773 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.0001428/0.1354, allocations: 173.8 kB / 478.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.1355, allocations: 35.53 kB / 478.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.1359, allocations: 235.3 kB / 478.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1359, allocations: 4 kB / 478.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.136, allocations: 0 / 478.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.136, allocations: 0 / 478.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.1367, allocations: 0.6113 MB / 479.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1367, allocations: 3.938 kB / 479.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.1368, allocations: 31.98 kB / 479.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1368, allocations: 3.984 kB / 479.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1368, allocations: 8 kB / 479.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1368, allocations: 4 kB / 479.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.1368, allocations: 3.938 kB / 479.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.1372, allocations: 292.8 kB / 479.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1373, allocations: 108.6 kB / 479.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.1373, allocations: 0 / 479.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.1374, allocations: 11.98 kB / 479.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1374, allocations: 15.92 kB / 479.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1374, allocations: 4 kB / 479.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.1378, allocations: 391.1 kB / 480 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1378, allocations: 0 / 480 MB, free: 3.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1381, allocations: 51.92 kB / 480.1 MB, free: 3.707 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.001482/0.1396, allocations: 0.6875 MB / 480.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.1399, allocations: 138.2 kB / 480.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1399, allocations: 4 kB / 480.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1401, allocations: 83.8 kB / 481 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.1406, allocations: 71.16 kB / 481.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.1415, allocations: 0.7524 MB / 481.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1419, allocations: 0.7905 MB / 482.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.142, allocations: 31.42 kB / 482.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.142, allocations: 0 / 482.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Templates: time 0.005929/0.1479, allocations: 4.255 MB / 486.9 MB, free: 13.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/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