Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001209/0.001209, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.379/1.379, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2164/0.2164, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 62.86 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1107, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003771/0.1145, allocations: 1.608 MB / 471.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1162, allocations: 1.039 MB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1163, allocations: 0 / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.1165, allocations: 19.92 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.1168, allocations: 39.78 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.1172, allocations: 130.4 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1174, allocations: 67.72 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1175, allocations: 16.17 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.1176, allocations: 23.92 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1177, allocations: 35.84 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1178, allocations: 4 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1179, allocations: 51.97 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.118, allocations: 23.86 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.118, allocations: 19.88 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1183, allocations: 95.75 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1183, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1183, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1183, allocations: 0 / 473.1 MB, free: 11.18 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.0004972/0.1188, allocations: 383.6 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1189, allocations: 8.031 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.1189, allocations: 12.78 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1191, allocations: 192.2 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1192, allocations: 4.375 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1192, allocations: 8.312 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1194, allocations: 71.33 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1195, allocations: 0 / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1195, allocations: 4 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1195, allocations: 4 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1196, allocations: 39.95 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.12, allocations: 284.7 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1202, allocations: 50.56 kB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.1202, allocations: 24.94 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1203, allocations: 0 / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1203, allocations: 34.55 kB / 474.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1203, allocations: 0 / 474.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007905/0.1211, allocations: 201.3 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.1212, allocations: 77.11 kB / 474.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1213, allocations: 137.8 kB / 474.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1214, allocations: 29.7 kB / 474.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1214, allocations: 92.03 kB / 474.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1214, allocations: 27.72 kB / 474.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1215, allocations: 25.72 kB / 474.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1216, allocations: 318.8 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1218, allocations: 31.97 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1219, allocations: 53.69 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1222, allocations: 72.84 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1222, allocations: 0 / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000271/0.1225, allocations: 109.5 kB / 475.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1225, allocations: 7.938 kB / 475.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1225, allocations: 0 / 475.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1225, allocations: 0 / 475.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1226, allocations: 31.91 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1227, allocations: 0 / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.1227, allocations: 11.94 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1227, allocations: 0 / 475.4 MB, free: 8.637 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 9.612e-05/0.1228, allocations: 121.8 kB / 475.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1229, allocations: 11.84 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.1232, allocations: 122 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1232, allocations: 4 kB / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1232, allocations: 0 / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1232, allocations: 3.938 kB / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.1237, allocations: 382.5 kB / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1238, allocations: 4 kB / 476 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.1238, allocations: 19.98 kB / 476 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1239, allocations: 0 / 476 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1239, allocations: 7.938 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1239, allocations: 0 / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1239, allocations: 0 / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.1243, allocations: 219.7 kB / 476.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.1243, allocations: 85.02 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1244, allocations: 4.219 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1245, allocations: 11.98 kB / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1246, allocations: 0 / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1246, allocations: 8 kB / 476.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.1247, allocations: 107.8 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1247, allocations: 0 / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1249, allocations: 28 kB / 476.5 MB, free: 7.418 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.001166/0.1261, allocations: 442.3 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1265, allocations: 83.88 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1265, allocations: 0 / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1266, allocations: 43.91 kB / 477.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.127, allocations: 18.48 kB / 477.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.1274, allocations: 211.7 kB / 477.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1277, allocations: 0.6924 MB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.1277, allocations: 15.42 kB / 478 MB, free: 6.031 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1278, allocations: 0 / 478 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Templates: time 0.003706/0.1315, allocations: 1.721 MB / 479.7 MB, free: 4.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches