Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 104 kB / 17.63 MB, free: 5.523 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.001194/0.001194, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.326/1.326, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.1999/0.1999, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 69.05 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1268, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.004171/0.131, allocations: 1.62 MB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.132, allocations: 435.1 kB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.132, allocations: 4 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.1327, allocations: 447.1 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.1332, allocations: 259.4 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.1337, allocations: 122.9 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1339, allocations: 167.6 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1341, allocations: 23.98 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1342, allocations: 103.8 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.1345, allocations: 207.6 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1346, allocations: 4 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1347, allocations: 55.91 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1348, allocations: 87.62 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.135, allocations: 103 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1352, allocations: 255 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1353, allocations: 0 / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1353, allocations: 0 / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1353, allocations: 4 kB / 473.1 MB, free: 10.52 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.0007471/0.136, allocations: 0.6339 MB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1361, allocations: 11.97 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.1361, allocations: 44.38 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1364, allocations: 304.1 kB / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1364, allocations: 8.359 kB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1365, allocations: 4.375 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1366, allocations: 61.8 kB / 474.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1366, allocations: 0 / 474.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1366, allocations: 0 / 474.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1366, allocations: 0 / 474.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.1367, allocations: 31.92 kB / 474.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.1372, allocations: 392.6 kB / 474.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1373, allocations: 50.59 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.1374, allocations: 16.94 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1374, allocations: 4 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1374, allocations: 30.56 kB / 474.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1374, allocations: 4 kB / 474.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001107/0.1385, allocations: 303.8 kB / 475 MB, free: 8.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1386, allocations: 63.33 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.1397, allocations: 0.8496 MB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1397, allocations: 29.7 kB / 475.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.14, allocations: 228.1 kB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.14, allocations: 23.56 kB / 476.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.14, allocations: 21.7 kB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000318/0.1404, allocations: 358.8 kB / 476.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.1404, allocations: 23.98 kB / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.1405, allocations: 35.91 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1407, allocations: 56.84 kB / 476.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1407, allocations: 4 kB / 476.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002182/0.1409, allocations: 133.1 kB / 476.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1409, allocations: 7.938 kB / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1409, allocations: 0 / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.141, allocations: 0 / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1411, allocations: 19.98 kB / 476.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1411, allocations: 7.938 kB / 476.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.1411, allocations: 7.938 kB / 476.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1411, allocations: 0 / 476.8 MB, free: 6.566 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.0001848/0.1413, allocations: 217.7 kB / 477 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.1414, allocations: 39.53 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.1417, allocations: 169.7 kB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1417, allocations: 0 / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1417, allocations: 3.938 kB / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1417, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.1423, allocations: 0.4954 MB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1423, allocations: 3.938 kB / 477.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.1424, allocations: 24.38 kB / 477.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1424, allocations: 0 / 477.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1424, allocations: 4 kB / 477.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1424, allocations: 0 / 477.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1425, allocations: 0 / 477.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1427, allocations: 231.8 kB / 478 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1429, allocations: 120.6 kB / 478.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1429, allocations: 3.984 kB / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.143, allocations: 4 kB / 478.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.143, allocations: 15.92 kB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1431, allocations: 4 kB / 478.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005728/0.1436, allocations: 0.6472 MB / 478.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1436, allocations: 0 / 478.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1439, allocations: 24 kB / 478.8 MB, free: 4.461 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.0009803/0.1449, allocations: 471.7 kB / 479.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.1451, allocations: 67.89 kB / 479.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1452, allocations: 4 kB / 479.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1452, allocations: 31.98 kB / 479.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1456, allocations: 29.89 kB / 479.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1467, allocations: 0.8196 MB / 480.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1471, allocations: 0.8299 MB / 481 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.1471, allocations: 12.97 kB / 481.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.1471, allocations: 11.44 kB / 481.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1472, allocations: 0 / 481.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Templates: time 0.004976/0.1521, allocations: 1.697 MB / 482.8 MB, free: 0.6289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches