Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001122/0.001122, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.34/1.34, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2015/0.2015, allocations: 44.17 MB / 336.9 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 69.52 kB / 408.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1097, allocations: 60.82 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003093/0.1128, allocations: 1.677 MB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008013/0.1137, allocations: 0.6721 MB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.1137, allocations: 4 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.114, allocations: 23.97 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1142, allocations: 27.91 kB / 471.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.1142, allocations: 3.938 kB / 471.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1143, allocations: 47.83 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.1144, allocations: 0 / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.1144, allocations: 15.92 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.1145, allocations: 19.92 kB / 471.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1145, allocations: 0 / 471.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.1145, allocations: 15.98 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.1146, allocations: 12 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.1146, allocations: 23.8 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1147, allocations: 52.2 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1148, allocations: 4 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1148, allocations: 0 / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1148, allocations: 0 / 472 MB, free: 12.14 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.0003572/0.1151, allocations: 367.3 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1152, allocations: 12.03 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1152, allocations: 4.844 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1154, allocations: 176.2 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1154, allocations: 8.375 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1154, allocations: 384 / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1156, allocations: 127.3 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1156, allocations: 192 / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1156, allocations: 11.92 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.1157, allocations: 19.98 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.1157, allocations: 43.86 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.1163, allocations: 0.8829 MB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.1164, allocations: 177.2 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.1165, allocations: 84.12 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.1165, allocations: 83.22 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1166, allocations: 105.8 kB / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1166, allocations: 0 / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.945e-05/0.1166, allocations: 37.55 kB / 474.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1167, allocations: 130.7 kB / 474.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1169, allocations: 186.1 kB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1169, allocations: 25.7 kB / 474.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.117, allocations: 151.1 kB / 474.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.117, allocations: 3.938 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.1171, allocations: 45.61 kB / 474.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1172, allocations: 318.8 kB / 474.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.1172, allocations: 39.97 kB / 475 MB, free: 8.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1174, allocations: 151.7 kB / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1176, allocations: 200.8 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1176, allocations: 0 / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002893/0.1179, allocations: 205 kB / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1179, allocations: 4 kB / 475.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1179, allocations: 4 kB / 475.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1179, allocations: 8.625 kB / 475.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1181, allocations: 43.91 kB / 475.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1181, allocations: 11.94 kB / 475.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.1182, allocations: 27.69 kB / 475.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1182, allocations: 8 kB / 475.6 MB, free: 8.105 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.0001239/0.1183, allocations: 213.9 kB / 475.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.1184, allocations: 112.8 kB / 475.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.1185, allocations: 124.8 kB / 476.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.929e-05/0.1185, allocations: 184.2 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.825e-05/0.1186, allocations: 180.2 kB / 476.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.538e-05/0.1187, allocations: 176.3 kB / 476.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1189, allocations: 425.1 kB / 477 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/0.119, allocations: 112.9 kB / 477.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.119, allocations: 101 kB / 477.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.618e-05/0.1191, allocations: 184.2 kB / 477.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.1191, allocations: 176.3 kB / 477.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.536e-05/0.1192, allocations: 188.2 kB / 477.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.056e-05/0.1193, allocations: 176.3 kB / 477.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1194, allocations: 319.7 kB / 478.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.1195, allocations: 189.9 kB / 478.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.1196, allocations: 184.2 kB / 478.6 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1197, allocations: 105 kB / 478.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.1197, allocations: 184.3 kB / 478.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.1198, allocations: 108.9 kB / 479 MB, free: 4.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.1199, allocations: 135.2 kB / 479.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1199, allocations: 0 / 479.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1202, allocations: 16 kB / 479.1 MB, free: 4.363 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.0004754/0.1207, allocations: 262.2 kB / 479.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.1208, allocations: 76.66 kB / 479.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1208, allocations: 4 kB / 479.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.1208, allocations: 0 / 479.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1212, allocations: 467.6 kB / 479.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.1215, allocations: 303.1 kB / 480.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1218, allocations: 0.7044 MB / 480.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.1219, allocations: 15.44 kB / 480.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1219, allocations: 0 / 480.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Templates: time 0.002647/0.1246, allocations: 1.277 MB / 482.2 MB, free: 1.254 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches