Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001152/0.001152, allocations: 194 kB / 18.77 MB, free: 4.742 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 13.78 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.2106/0.2106, allocations: 44.19 MB / 336.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 68.19 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1182, allocations: 60.84 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003398/0.1216, allocations: 1.626 MB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.1225, allocations: 411.2 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.1226, allocations: 0 / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.1231, allocations: 447.2 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1235, allocations: 239.5 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1239, allocations: 122.7 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1242, allocations: 143.8 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1243, allocations: 11.98 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1244, allocations: 103.7 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.1247, allocations: 199.6 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1247, allocations: 0 / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.1248, allocations: 27.98 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1249, allocations: 79.62 kB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.125, allocations: 103 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1253, allocations: 167.8 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1253, allocations: 0 / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1253, allocations: 0 / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1253, allocations: 0 / 472.8 MB, free: 11.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007385/0.126, allocations: 0.6223 MB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1261, allocations: 8.031 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.1262, allocations: 44.38 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1265, allocations: 288.3 kB / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1265, allocations: 384 / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1265, allocations: 4.375 kB / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1267, allocations: 53.75 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1267, allocations: 0 / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1267, allocations: 3.938 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1267, allocations: 4 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.927e-05/0.1268, allocations: 19.98 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.1273, allocations: 376.7 kB / 474.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.1274, allocations: 34.52 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.1275, allocations: 16.91 kB / 474.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1275, allocations: 4 kB / 474.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1275, allocations: 30.56 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1275, allocations: 4 kB / 474.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002663/0.1278, allocations: 89.2 kB / 474.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1279, allocations: 55.41 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.1287, allocations: 0.8535 MB / 475.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1287, allocations: 29.83 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1289, allocations: 224 kB / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1289, allocations: 11.89 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.129, allocations: 9.719 kB / 475.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1291, allocations: 362.7 kB / 475.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.1292, allocations: 11.98 kB / 475.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.1292, allocations: 4 kB / 476 MB, free: 7.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.1293, allocations: 32.91 kB / 476 MB, free: 7.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1293, allocations: 0 / 476 MB, free: 7.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001503/0.1295, allocations: 89.12 kB / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1295, allocations: 4 kB / 476.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1295, allocations: 0 / 476.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1295, allocations: 0 / 476.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.1296, allocations: 15.92 kB / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1296, allocations: 0 / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1297, allocations: 4.031 kB / 476.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1297, allocations: 0 / 476.1 MB, free: 7.656 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 (2): * Single equations (assignments): 2 * 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.0001814/0.1299, allocations: 209.7 kB / 476.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.1299, allocations: 47.42 kB / 476.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.1301, allocations: 104.6 kB / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1302, allocations: 0 / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1302, allocations: 0 / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1302, allocations: 4 kB / 476.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.1305, allocations: 281.5 kB / 476.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1305, allocations: 3.984 kB / 476.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.1305, allocations: 4 kB / 476.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1305, allocations: 3.938 kB / 476.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1305, allocations: 0 / 476.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1305, allocations: 0 / 476.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1305, allocations: 0 / 476.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.1307, allocations: 191 kB / 476.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.1308, allocations: 120.5 kB / 477 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1309, allocations: 0 / 477 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.1309, allocations: 0 / 477 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.131, allocations: 0 / 477 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.131, allocations: 4 kB / 477 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005915/0.1316, allocations: 0.6472 MB / 477.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1316, allocations: 7.938 kB / 477.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1319, allocations: 15.94 kB / 477.7 MB, free: 5.93 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 (2): * Single equations (assignments): 2 * 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.0008226/0.1327, allocations: 349.3 kB / 478.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1328, allocations: 27.92 kB / 478.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1328, allocations: 4.062 kB / 478.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.1329, allocations: 15.98 kB / 478.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1333, allocations: 23.72 kB / 478.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1344, allocations: 0.8604 MB / 479 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1349, allocations: 0.8145 MB / 479.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.1349, allocations: 11.44 kB / 479.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1349, allocations: 4 kB / 479.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of Templates: time 0.006743/0.1417, allocations: 3.406 MB / 483.2 MB, free: 500 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches