Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008612/0.0008617, allocations: 92.02 kB / 17.35 MB, free: 6.34 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.0009076/0.0009076, allocations: 171.7 kB / 18.25 MB, free: 5.5 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.414/1.414, allocations: 223.3 MB / 242.3 MB, free: 212 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.2078/0.2078, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 8.938 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002155/0.1303, allocations: 1.322 MB / 473.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.1311, allocations: 411.3 kB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.1311, allocations: 4 kB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.1317, allocations: 451.2 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.132, allocations: 239.6 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1324, allocations: 122.7 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1326, allocations: 155.8 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1327, allocations: 12.12 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1328, allocations: 99.78 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.133, allocations: 207.6 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1331, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.1332, allocations: 31.98 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1333, allocations: 83.61 kB / 475.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.1334, allocations: 120.8 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1337, allocations: 235 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1337, allocations: 0 / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1337, allocations: 0 / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1337, allocations: 0 / 475.7 MB, free: 9.895 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.0007127/0.1344, allocations: 0.5836 MB / 476.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1345, allocations: 15.97 kB / 476.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.1345, allocations: 36.47 kB / 476.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1348, allocations: 300.1 kB / 476.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1348, allocations: 16.25 kB / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1349, allocations: 384 / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.135, allocations: 57.61 kB / 476.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.135, allocations: 0 / 476.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1351, allocations: 4 kB / 476.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1351, allocations: 4 kB / 476.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.592e-05/0.1352, allocations: 27.98 kB / 476.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.1356, allocations: 388.6 kB / 477.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1358, allocations: 46.56 kB / 477.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1359, allocations: 20.94 kB / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1359, allocations: 0 / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.136, allocations: 30.56 kB / 477.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.136, allocations: 0 / 477.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006186/0.1366, allocations: 244 kB / 477.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1367, allocations: 55.41 kB / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.1375, allocations: 0.8573 MB / 478.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1375, allocations: 29.7 kB / 478.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.1377, allocations: 224.1 kB / 478.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1377, allocations: 7.812 kB / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.1377, allocations: 17.72 kB / 478.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1379, allocations: 358.8 kB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.138, allocations: 19.98 kB / 479 MB, free: 6.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.138, allocations: 31.92 kB / 479 MB, free: 6.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1382, allocations: 52.83 kB / 479.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1382, allocations: 0 / 479.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002136/0.1384, allocations: 125.1 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1384, allocations: 8 kB / 479.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1385, allocations: 0 / 479.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1385, allocations: 0 / 479.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1385, allocations: 15.98 kB / 479.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1386, allocations: 0 / 479.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.1386, allocations: 11.88 kB / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1386, allocations: 0 / 479.2 MB, free: 6.121 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.0002112/0.1389, allocations: 218.3 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.1389, allocations: 43.44 kB / 479.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.1392, allocations: 137 kB / 479.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1393, allocations: 0 / 479.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1393, allocations: 8.312 kB / 479.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1393, allocations: 3.938 kB / 479.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.1399, allocations: 466.4 kB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.14, allocations: 0 / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.14, allocations: 19.98 kB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.14, allocations: 0 / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1401, allocations: 7.938 kB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1401, allocations: 0 / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1401, allocations: 0 / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1404, allocations: 223 kB / 480.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.1405, allocations: 112.5 kB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1405, allocations: 3.938 kB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.1406, allocations: 7.984 kB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1407, allocations: 4 kB / 480.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1407, allocations: 4 kB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007066/0.1414, allocations: 0.6433 MB / 481.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1414, allocations: 0 / 481.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1417, allocations: 35.98 kB / 481.2 MB, free: 4.102 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.001141/0.1428, allocations: 401.2 kB / 481.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1431, allocations: 55.95 kB / 481.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1431, allocations: 0 / 481.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.1432, allocations: 35.92 kB / 481.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1436, allocations: 29.94 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.001091/0.1447, allocations: 0.8607 MB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.1452, allocations: 0.8185 MB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.1452, allocations: 8 kB / 483.4 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1453, allocations: 15.42 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1453, allocations: 0 / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of Templates: time 0.00524/0.1505, allocations: 1.352 MB / 484.7 MB, free: 0.6406 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches