Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007738/0.0007739, allocations: 95.7 kB / 17.35 MB, free: 6.367 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.0008082/0.0008087, allocations: 177 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.407/1.407, allocations: 223.3 MB / 242.3 MB, free: 14.51 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.2047/0.2047, allocations: 44.24 MB / 337.7 MB, free: 2.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 8.531 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002316/0.127, allocations: 1.326 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1287, allocations: 1.004 MB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.1288, allocations: 4 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.129, allocations: 19.91 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1293, allocations: 35.91 kB / 474.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.1297, allocations: 115.4 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1298, allocations: 63.77 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1299, allocations: 12.17 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.35e-05/0.13, allocations: 15.94 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1302, allocations: 39.77 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1302, allocations: 0 / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1303, allocations: 43.98 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1304, allocations: 19.92 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.1305, allocations: 45.56 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1307, allocations: 91.77 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1308, allocations: 3.938 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1308, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1308, allocations: 0 / 475.1 MB, free: 10.46 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.0005982/0.1314, allocations: 375.6 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1314, allocations: 12.03 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1315, allocations: 4.938 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1317, allocations: 200 kB / 475.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1318, allocations: 4.312 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1318, allocations: 8.375 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.132, allocations: 75.33 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1321, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1321, allocations: 4 kB / 475.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1321, allocations: 4 kB / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1323, allocations: 43.91 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.1327, allocations: 284.8 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1329, allocations: 46.56 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/0.133, allocations: 28.94 kB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.133, allocations: 0 / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.1331, allocations: 38.55 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.546e-06/0.1331, allocations: 0 / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008921/0.134, allocations: 241.5 kB / 476.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.1341, allocations: 89.05 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1342, allocations: 133.8 kB / 476.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1343, allocations: 29.7 kB / 476.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1343, allocations: 92.12 kB / 476.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1344, allocations: 23.66 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.1344, allocations: 9.719 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1345, allocations: 326.8 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1347, allocations: 39.97 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1349, allocations: 53.69 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.1351, allocations: 97.06 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1352, allocations: 0 / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003104/0.1355, allocations: 133.5 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1355, allocations: 4 kB / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1355, allocations: 0 / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1355, allocations: 0 / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1357, allocations: 27.98 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1357, allocations: 4 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.1358, allocations: 23.92 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1358, allocations: 0 / 477.5 MB, free: 7.816 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 (7): * Single equations (assignments): 7 * 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.0001156/0.1359, allocations: 118.4 kB / 477.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.1359, allocations: 11.91 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.1363, allocations: 141.9 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1363, allocations: 7.938 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1363, allocations: 0 / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1363, allocations: 3.938 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.1369, allocations: 398.5 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1369, allocations: 0 / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.137, allocations: 31.92 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.137, allocations: 0 / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.137, allocations: 3.938 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.137, allocations: 0 / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.137, allocations: 0 / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.1374, allocations: 223.4 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.1374, allocations: 89 kB / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1375, allocations: 7.938 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.263e-05/0.1376, allocations: 15.98 kB / 478.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1376, allocations: 3.984 kB / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1376, allocations: 4 kB / 478.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.415e-05/0.1377, allocations: 105.5 kB / 478.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1377, allocations: 0 / 478.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.138, allocations: 28 kB / 478.7 MB, free: 6.543 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 (7): * Single equations (assignments): 7 * 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.001154/0.1392, allocations: 450.3 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1395, allocations: 95.94 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1395, allocations: 0 / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1397, allocations: 55.91 kB / 479.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1401, allocations: 15.98 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.1405, allocations: 205.2 kB / 479.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1409, allocations: 0.6965 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.1409, allocations: 11.95 kB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.141, allocations: 15.42 kB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.141, allocations: 0 / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of Templates: time 0.004479/0.1455, allocations: 1.415 MB / 481.6 MB, free: 3.727 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches