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.0007982/0.0007981, allocations: 93.31 kB / 18 MB, free: 5.602 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.0008915/0.0008916, allocations: 179.7 kB / 18.91 MB, free: 4.734 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.336/1.336, allocations: 223.3 MB / 243 MB, free: 14.29 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.1918/0.1918, allocations: 44.25 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003333, allocations: 8.5 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00229/0.1235, allocations: 1.341 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.1244, allocations: 419.2 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.1245, allocations: 4 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.1252, allocations: 443.2 kB / 475.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1256, allocations: 247.6 kB / 475.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.126, allocations: 115.2 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1263, allocations: 163.6 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1265, allocations: 16 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1267, allocations: 99.8 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.127, allocations: 207.5 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.127, allocations: 3.984 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1271, allocations: 43.98 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1273, allocations: 75.7 kB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1274, allocations: 132.7 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1277, allocations: 187.7 kB / 476.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1277, allocations: 3.938 kB / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1277, allocations: 0 / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1277, allocations: 0 / 476.4 MB, free: 9.809 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.0007769/0.1285, allocations: 0.5953 MB / 477 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1286, allocations: 8.031 kB / 477 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.1287, allocations: 48.31 kB / 477 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.129, allocations: 292.2 kB / 477.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.129, allocations: 8.375 kB / 477.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1291, allocations: 4.375 kB / 477.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1292, allocations: 65.73 kB / 477.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1293, allocations: 4 kB / 477.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1293, allocations: 4 kB / 477.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1293, allocations: 0 / 477.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1294, allocations: 31.98 kB / 477.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.13, allocations: 396.6 kB / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1301, allocations: 46.56 kB / 477.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1302, allocations: 20.94 kB / 477.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1302, allocations: 4 kB / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1303, allocations: 34.56 kB / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1303, allocations: 0 / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001011/0.1313, allocations: 340.1 kB / 478.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1313, allocations: 59.34 kB / 478.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.1322, allocations: 0.8535 MB / 479.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1322, allocations: 25.7 kB / 479.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1324, allocations: 220.1 kB / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1324, allocations: 27.56 kB / 479.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1325, allocations: 13.72 kB / 479.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1327, allocations: 362.8 kB / 479.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1328, allocations: 31.98 kB / 479.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.1328, allocations: 27.98 kB / 479.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.133, allocations: 73.05 kB / 479.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.133, allocations: 0 / 479.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002418/0.1333, allocations: 141.1 kB / 480.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.1333, allocations: 7.984 kB / 480.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1333, allocations: 0 / 480.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1334, allocations: 3.938 kB / 480.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1335, allocations: 16 kB / 480.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1335, allocations: 7.922 kB / 480.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1335, allocations: 12 kB / 480.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1336, allocations: 4 kB / 480.1 MB, free: 5.84 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.0001847/0.1338, allocations: 210.3 kB / 480.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.1338, allocations: 51.36 kB / 480.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.1342, allocations: 169.4 kB / 480.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1342, allocations: 4 kB / 480.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1342, allocations: 3.938 kB / 480.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1342, allocations: 0 / 480.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006239/0.1348, allocations: 0.5031 MB / 481 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.1349, allocations: 3.938 kB / 481 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.1349, allocations: 19.98 kB / 481.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.135, allocations: 4 kB / 481.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.135, allocations: 0 / 481.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.135, allocations: 0 / 481.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.135, allocations: 0 / 481.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.1353, allocations: 247.9 kB / 481.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.1354, allocations: 116.5 kB / 481.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1354, allocations: 4 kB / 481.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.1356, allocations: 15.98 kB / 481.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.1356, allocations: 4 kB / 481.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1356, allocations: 3.984 kB / 481.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006276/0.1363, allocations: 0.6472 MB / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1363, allocations: 0 / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1366, allocations: 32 kB / 482.1 MB, free: 3.703 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.001123/0.1377, allocations: 461 kB / 482.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1379, allocations: 79.89 kB / 482.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1379, allocations: 0 / 482.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.138, allocations: 39.92 kB / 482.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1385, allocations: 29.89 kB / 482.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1396, allocations: 0.9341 MB / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.14, allocations: 0.8223 MB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1401, allocations: 15.44 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1401, allocations: 0 / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Templates: time 0.007506/0.1476, allocations: 3.804 MB / 488.3 MB, free: 13.65 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/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