Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007823/0.0007823, allocations: 94.19 kB / 17.35 MB, free: 6.371 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.0008448/0.0008449, allocations: 172.6 kB / 18.25 MB, free: 5.523 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.443/1.443, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2996/0.2996, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.00182/0.1349, allocations: 1.329 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.1357, allocations: 411.3 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.1357, allocations: 0 / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.1362, allocations: 443.2 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1366, allocations: 251.5 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1369, allocations: 111.3 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1371, allocations: 151.8 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.1372, allocations: 20.11 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1373, allocations: 107.7 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.1375, allocations: 195.6 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1375, allocations: 4 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.1376, allocations: 27.98 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1377, allocations: 83.64 kB / 475.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.449e-05/0.1378, allocations: 116.8 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1381, allocations: 243 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1381, allocations: 4 kB / 475.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1381, allocations: 3.938 kB / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1381, allocations: 0 / 475.7 MB, free: 9.875 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005998/0.1387, allocations: 0.5836 MB / 476.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1387, allocations: 8.031 kB / 476.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.1388, allocations: 36.47 kB / 476.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.1391, allocations: 304.1 kB / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1391, allocations: 4.312 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.1391, allocations: 4.375 kB / 476.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1393, allocations: 61.62 kB / 476.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1393, allocations: 0 / 476.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1393, allocations: 3.984 kB / 476.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1393, allocations: 4 kB / 476.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1394, allocations: 23.98 kB / 476.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.1399, allocations: 388.6 kB / 477.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1401, allocations: 42.56 kB / 477.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.1402, allocations: 16.86 kB / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1402, allocations: 4.078 kB / 477.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1403, allocations: 42.55 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.1403, allocations: 0 / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006252/0.1409, allocations: 243.9 kB / 477.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1409, allocations: 51.41 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008133/0.1418, allocations: 0.8574 MB / 478.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1418, allocations: 25.7 kB / 478.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.142, allocations: 224 kB / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.142, allocations: 15.88 kB / 478.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.142, allocations: 13.72 kB / 478.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1422, allocations: 358.8 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.1423, allocations: 27.98 kB / 479 MB, free: 6.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.1423, allocations: 23.98 kB / 479 MB, free: 6.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1425, allocations: 52.84 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1425, allocations: 0 / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002177/0.1427, allocations: 125.1 kB / 479.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1427, allocations: 4 kB / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1427, allocations: 0 / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1428, allocations: 0 / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.1428, allocations: 19.94 kB / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1428, allocations: 0 / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.1429, allocations: 15.92 kB / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1429, allocations: 0 / 479.2 MB, free: 6.105 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 (5): * Single equations (assignments): 5 * 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.0001861/0.1431, allocations: 210.3 kB / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.1432, allocations: 39.44 kB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.1435, allocations: 153 kB / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1435, allocations: 3.938 kB / 479.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1435, allocations: 0 / 479.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1435, allocations: 3.938 kB / 479.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.144, allocations: 470.7 kB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.144, allocations: 0 / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.1441, allocations: 15.98 kB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1441, allocations: 0 / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1441, allocations: 3.938 kB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1441, allocations: 0 / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1441, allocations: 0 / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1444, allocations: 219 kB / 480.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1445, allocations: 112.5 kB / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1445, allocations: 3.938 kB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.1446, allocations: 12 kB / 480.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1446, allocations: 7.984 kB / 480.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1446, allocations: 4 kB / 480.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005699/0.1452, allocations: 0.6433 MB / 481.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1452, allocations: 0 / 481.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1455, allocations: 24 kB / 481.1 MB, free: 4.098 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 (5): * Single equations (assignments): 5 * 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.0009167/0.1464, allocations: 410.2 kB / 481.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1466, allocations: 59.91 kB / 481.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1466, allocations: 0 / 481.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.1467, allocations: 27.98 kB / 481.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1471, allocations: 24.45 kB / 481.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1482, allocations: 0.8646 MB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.1486, allocations: 0.8223 MB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.1486, allocations: 7.984 kB / 483.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.1486, allocations: 15.44 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1487, allocations: 0 / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of Templates: time 0.004558/0.1532, allocations: 1.352 MB / 484.7 MB, free: 0.6328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches