Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, 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.001612/0.001612, 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.482/1.482, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2148/0.2148, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 62.41 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003073/0.1195, allocations: 1.628 MB / 471.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007348/0.1202, allocations: 443.1 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.1203, allocations: 0 / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.1208, allocations: 455.1 kB / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.1212, allocations: 247.4 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1215, allocations: 131.6 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1217, allocations: 171.6 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1219, allocations: 15.98 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.122, allocations: 111.8 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1222, allocations: 219.5 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1222, allocations: 0 / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1223, allocations: 55.91 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1225, allocations: 87.69 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.1226, allocations: 99 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1228, allocations: 259 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1229, allocations: 0 / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1229, allocations: 3.984 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1229, allocations: 4 kB / 473.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006944/0.1236, allocations: 0.6378 MB / 474.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1236, allocations: 12.03 kB / 474.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.1237, allocations: 40.38 kB / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.124, allocations: 304.1 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.124, allocations: 384 / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.124, allocations: 4.375 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1242, allocations: 73.73 kB / 474.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1242, allocations: 0 / 474.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1242, allocations: 0 / 474.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1242, allocations: 4 kB / 474.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1244, allocations: 35.91 kB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.1248, allocations: 396.6 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1251, allocations: 62.58 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.1252, allocations: 24.97 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1252, allocations: 0 / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1252, allocations: 34.56 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1252, allocations: 0 / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001493/0.1267, allocations: 476 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1268, allocations: 59.34 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.1276, allocations: 0.8496 MB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1276, allocations: 29.7 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1278, allocations: 215.9 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.1278, allocations: 39.45 kB / 477.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.1279, allocations: 25.72 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.128, allocations: 358.8 kB / 477.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1282, allocations: 47.91 kB / 477.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1283, allocations: 39.97 kB / 477.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.1286, allocations: 104.8 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1286, allocations: 0 / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003196/0.1289, allocations: 169.1 kB / 477.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1289, allocations: 4 kB / 477.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1289, allocations: 0 / 477.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.129, allocations: 4 kB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1291, allocations: 35.86 kB / 477.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1291, allocations: 0 / 477.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.1292, allocations: 11.98 kB / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1292, allocations: 4 kB / 477.9 MB, free: 6.184 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 (11): * Single equations (assignments): 11 * 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.0001916/0.1294, allocations: 213.8 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1294, allocations: 39.53 kB / 478.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.1299, allocations: 209.2 kB / 478.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1299, allocations: 3.938 kB / 478.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1299, allocations: 0 / 478.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1299, allocations: 0 / 478.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.1307, allocations: 0.5663 MB / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1307, allocations: 3.938 kB / 478.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.93e-05/0.1308, allocations: 27.97 kB / 478.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1308, allocations: 0 / 478.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1308, allocations: 4 kB / 478.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1308, allocations: 0 / 478.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1308, allocations: 0 / 478.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.1312, allocations: 289.1 kB / 479.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.1313, allocations: 116.5 kB / 479.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1313, allocations: 192 / 479.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1314, allocations: 19.98 kB / 479.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1315, allocations: 8 kB / 479.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.1315, allocations: 7.984 kB / 479.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005841/0.1321, allocations: 0.6433 MB / 480 MB, free: 3.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1321, allocations: 0 / 480 MB, free: 3.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1324, allocations: 28 kB / 480 MB, free: 3.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001045/0.1334, allocations: 455.8 kB / 480.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1338, allocations: 119.8 kB / 480.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1338, allocations: 0 / 480.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1339, allocations: 59.91 kB / 480.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1344, allocations: 33.11 kB / 480.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1355, allocations: 0.8846 MB / 481.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1359, allocations: 0.8299 MB / 482.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.136, allocations: 15.44 kB / 482.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.136, allocations: 0 / 482.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Templates: time 0.007111/0.1431, allocations: 4.035 MB / 486.4 MB, free: 13.6 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches