Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 112.8 kB / 17.33 MB, free: 5.988 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.001037/0.001037, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.334/1.334, allocations: 222.9 MB / 241.9 MB, free: 15.36 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.2165/0.2165, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.77 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003316/0.1204, allocations: 1.676 MB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.1213, allocations: 0.6683 MB / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.1213, allocations: 4 kB / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1216, allocations: 31.89 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1218, allocations: 27.91 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.649e-06/0.1218, allocations: 4 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.122, allocations: 39.83 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.122, allocations: 4 kB / 471.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.1221, allocations: 11.88 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.1221, allocations: 23.91 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.1222, allocations: 7.938 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.1222, allocations: 12 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.1223, allocations: 15.98 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.1223, allocations: 19.81 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1224, allocations: 72 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1224, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1225, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1225, allocations: 0 / 471.3 MB, free: 12.1 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003453/0.1228, allocations: 363.3 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1229, allocations: 8.031 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.1229, allocations: 12.84 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.123, allocations: 168.2 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1231, allocations: 12.3 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1231, allocations: 384 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1233, allocations: 119.4 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1233, allocations: 192 / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1233, allocations: 15.88 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.1233, allocations: 19.98 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.1234, allocations: 39.92 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.124, allocations: 0.8906 MB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/0.1241, allocations: 169.1 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.1242, allocations: 84.14 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1242, allocations: 79.22 kB / 473.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.1243, allocations: 117.9 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1243, allocations: 0 / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.24e-05/0.1243, allocations: 33.61 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.1244, allocations: 126.7 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1246, allocations: 186.1 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1246, allocations: 25.7 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.1247, allocations: 147.1 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.1247, allocations: 4 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.1247, allocations: 45.61 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1249, allocations: 318.8 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.1249, allocations: 39.97 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.125, allocations: 155.7 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1252, allocations: 200.9 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1252, allocations: 4 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002888/0.1255, allocations: 205.5 kB / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1256, allocations: 4 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1256, allocations: 7.938 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1256, allocations: 8 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1257, allocations: 35.92 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.1257, allocations: 15.92 kB / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.1258, allocations: 27.69 kB / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1258, allocations: 8 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000117/0.126, allocations: 218 kB / 475.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.126, allocations: 116.8 kB / 475.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.1261, allocations: 116.9 kB / 475.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.182e-05/0.1262, allocations: 184.2 kB / 475.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-05/0.1262, allocations: 176.3 kB / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.606e-05/0.1263, allocations: 188.2 kB / 475.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1266, allocations: 421.2 kB / 476.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.1266, allocations: 108.9 kB / 476.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.1267, allocations: 104.9 kB / 476.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.077e-05/0.1268, allocations: 176.3 kB / 476.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.1268, allocations: 180.2 kB / 476.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.723e-05/0.1269, allocations: 188.2 kB / 477.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.747e-05/0.127, allocations: 176.3 kB / 477.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.1272, allocations: 315.7 kB / 477.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1273, allocations: 193.9 kB / 477.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.1274, allocations: 180.3 kB / 477.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.1275, allocations: 109 kB / 478 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.1276, allocations: 184.2 kB / 478.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.1276, allocations: 101 kB / 478.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.1277, allocations: 135.2 kB / 478.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1277, allocations: 0 / 478.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000284/0.128, allocations: 16 kB / 478.5 MB, free: 4.34 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 (0): * Single equations (assignments): 0 * 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.0004771/0.1285, allocations: 271 kB / 478.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.1286, allocations: 71.78 kB / 478.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1286, allocations: 4 kB / 478.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.1286, allocations: 5.188 kB / 478.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.129, allocations: 475.6 kB / 479.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.1294, allocations: 269.1 kB / 479.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1297, allocations: 0.6967 MB / 480.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.1298, allocations: 49.03 kB / 480.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1299, allocations: 19.42 kB / 480.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1299, allocations: 4 kB / 480.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of Templates: time 0.002933/0.1328, allocations: 0.6525 MB / 481 MB, free: 1.836 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches