Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001199/0.0012, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.429/1.429, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2023/0.2023, allocations: 44.19 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 64.02 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003655/0.1337, allocations: 1.631 MB / 471.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.1346, allocations: 439 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.1347, allocations: 0 / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.1353, allocations: 455.1 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.1357, allocations: 247.5 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.1362, allocations: 125.9 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1365, allocations: 171.6 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1366, allocations: 15.98 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1368, allocations: 103.8 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1371, allocations: 211.6 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1371, allocations: 4 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1373, allocations: 55.97 kB / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1374, allocations: 79.69 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.1375, allocations: 106.9 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1379, allocations: 251 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1379, allocations: 7.984 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1379, allocations: 4 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1379, allocations: 0 / 473.8 MB, free: 10.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007823/0.1387, allocations: 0.63 MB / 474.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1388, allocations: 12.03 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.1389, allocations: 44.31 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1392, allocations: 296.1 kB / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1392, allocations: 4.375 kB / 474.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1392, allocations: 4.375 kB / 474.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1394, allocations: 61.73 kB / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1395, allocations: 11.98 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1395, allocations: 0 / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1395, allocations: 0 / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1396, allocations: 35.91 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.1401, allocations: 388.6 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1402, allocations: 46.56 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.1403, allocations: 20.94 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1403, allocations: 4 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1404, allocations: 34.59 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1404, allocations: 0 / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.1414, allocations: 307.8 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1414, allocations: 55.34 kB / 475.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.1423, allocations: 0.8574 MB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1424, allocations: 29.7 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.1425, allocations: 220.1 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1426, allocations: 23.56 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.1426, allocations: 29.7 kB / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1428, allocations: 354.8 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.1429, allocations: 27.98 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.143, allocations: 23.97 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1431, allocations: 60.83 kB / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1431, allocations: 0 / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002488/0.1434, allocations: 141 kB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1434, allocations: 4 kB / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1434, allocations: 0 / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1435, allocations: 0 / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1436, allocations: 19.98 kB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1436, allocations: 3.938 kB / 477.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.1436, allocations: 4 kB / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1437, allocations: 3.984 kB / 477.5 MB, free: 6.559 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 (8): * Single equations (assignments): 8 * 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.0001988/0.1439, allocations: 213.8 kB / 477.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.1439, allocations: 47.47 kB / 477.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.1443, allocations: 165.3 kB / 477.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1443, allocations: 4 kB / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1443, allocations: 3.938 kB / 477.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1443, allocations: 0 / 477.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.1449, allocations: 0.4918 MB / 478.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.145, allocations: 7.938 kB / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.145, allocations: 15.98 kB / 478.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.145, allocations: 0 / 478.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1451, allocations: 4 kB / 478.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1451, allocations: 0 / 478.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.1451, allocations: 7.922 kB / 478.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1454, allocations: 239.9 kB / 478.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.1454, allocations: 113 kB / 478.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1455, allocations: 3.938 kB / 478.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.1456, allocations: 4 kB / 478.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.1456, allocations: 11.98 kB / 478.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1457, allocations: 8 kB / 478.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005848/0.1463, allocations: 0.6433 MB / 479.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1463, allocations: 0 / 479.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.1465, allocations: 24 kB / 479.5 MB, free: 4.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00109/0.1476, allocations: 473.5 kB / 479.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1479, allocations: 63.95 kB / 480 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1479, allocations: 0 / 480 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.104e-05/0.148, allocations: 35.92 kB / 480 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1485, allocations: 32.55 kB / 480.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1496, allocations: 0.8526 MB / 480.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.15, allocations: 0.826 MB / 481.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1501, allocations: 11.44 kB / 481.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1501, allocations: 4 kB / 481.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Templates: time 0.00803/0.1581, allocations: 3.908 MB / 485.7 MB, free: 14.38 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches