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.001751/0.001751, 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.001961/0.001961, 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.44 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.2269/0.2269, allocations: 44.17 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.12 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003474/0.1153, allocations: 1.673 MB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.117, allocations: 1.023 MB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.1171, allocations: 0 / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.1173, allocations: 19.91 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1176, allocations: 27.92 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1179, allocations: 115.5 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1181, allocations: 59.78 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1182, allocations: 20.17 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.1183, allocations: 23.91 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1184, allocations: 27.8 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1184, allocations: 4 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1186, allocations: 55.95 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.1187, allocations: 11.94 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.1187, allocations: 19.86 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1189, allocations: 67.89 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1189, allocations: 4 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1189, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1189, allocations: 0 / 472.3 MB, free: 11.68 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.0005448/0.1195, allocations: 387.5 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1195, allocations: 12.03 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.1196, allocations: 8.844 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1198, allocations: 188.1 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1198, allocations: 4.375 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1198, allocations: 384 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.12, allocations: 79.33 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.12, allocations: 0 / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1201, allocations: 4 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1201, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1202, allocations: 31.97 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1207, allocations: 296.7 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1208, allocations: 38.56 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/0.1209, allocations: 24.94 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1209, allocations: 0 / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1209, allocations: 38.56 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.121, allocations: 0 / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007998/0.1218, allocations: 205.2 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.1218, allocations: 85.05 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.122, allocations: 144.1 kB / 473.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.122, allocations: 25.7 kB / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.1221, allocations: 100 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1221, allocations: 19.66 kB / 474 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.1222, allocations: 17.72 kB / 474 MB, free: 9.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1223, allocations: 318.8 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1224, allocations: 39.91 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1225, allocations: 49.75 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.1227, allocations: 72.81 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1227, allocations: 0 / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003308/0.1231, allocations: 117.5 kB / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1231, allocations: 4 kB / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1231, allocations: 4 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1231, allocations: 0 / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1233, allocations: 15.98 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1233, allocations: 4 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.1233, allocations: 15.92 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1234, allocations: 0 / 474.6 MB, free: 9.137 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.999e-05/0.1235, allocations: 126.4 kB / 474.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.1235, allocations: 7.906 kB / 474.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.1238, allocations: 126.2 kB / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1238, allocations: 0 / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1239, allocations: 0 / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1239, allocations: 3.938 kB / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1244, allocations: 390.5 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1244, allocations: 0 / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.1245, allocations: 23.92 kB / 475.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1245, allocations: 0 / 475.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1245, allocations: 3.938 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1245, allocations: 0 / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1245, allocations: 0 / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1249, allocations: 211.4 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1249, allocations: 85 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1249, allocations: 3.938 kB / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.125, allocations: 15.98 kB / 475.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1251, allocations: 8 kB / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1251, allocations: 0 / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1252, allocations: 111.2 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1252, allocations: 0 / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1255, allocations: 20 kB / 475.7 MB, free: 7.918 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.0009984/0.1265, allocations: 449.1 kB / 476.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.1268, allocations: 79.92 kB / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1268, allocations: 0 / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1269, allocations: 47.91 kB / 476.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1272, allocations: 19.64 kB / 476.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.1276, allocations: 221.5 kB / 476.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1279, allocations: 0.6887 MB / 477.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.128, allocations: 23.42 kB / 477.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.128, allocations: 0 / 477.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.003327/0.1313, allocations: 1.699 MB / 478.9 MB, free: 4.82 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