Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002273/0.002274, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 76.22 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09312, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002677/0.09583, allocations: 1.684 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.09669, allocations: 0.5493 MB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.09674, allocations: 0 / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.09695, allocations: 55.73 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.09721, allocations: 87.66 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.09753, allocations: 143 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.09766, allocations: 79.81 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.09775, allocations: 24.2 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.09781, allocations: 35.84 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.0979, allocations: 43.78 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.09792, allocations: 8 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.09802, allocations: 51.97 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.09808, allocations: 23.92 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.09812, allocations: 35.73 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.09829, allocations: 115.9 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.0983, allocations: 0 / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0983, allocations: 0 / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.09831, allocations: 0 / 483.1 MB, free: 2.262 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.0004325/0.09875, allocations: 411.1 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09879, allocations: 16.03 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.09883, allocations: 34.69 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.09886, allocations: 8.844 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.09903, allocations: 204.1 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-06/0.09905, allocations: 384 / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.09907, allocations: 4.375 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.09922, allocations: 61.61 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.09924, allocations: 7.906 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.09926, allocations: 11.92 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.09927, allocations: 4 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.09941, allocations: 35.97 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.09974, allocations: 308.7 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.09995, allocations: 62.58 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.191e-05/0.1, allocations: 28.97 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1001, allocations: 3.938 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.1001, allocations: 34.56 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1001, allocations: 0 / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001324/0.1014, allocations: 401.1 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1015, allocations: 55.34 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1016, allocations: 182.2 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1016, allocations: 29.7 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.1017, allocations: 108.1 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1017, allocations: 31.47 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.1018, allocations: 25.7 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1019, allocations: 326.8 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.102, allocations: 39.97 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1021, allocations: 43.97 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.1024, allocations: 100.7 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1024, allocations: 4 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002892/0.1027, allocations: 141.5 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1027, allocations: 8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1027, allocations: 3.938 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1027, allocations: 3.938 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1028, allocations: 27.97 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1028, allocations: 0 / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.1029, allocations: 15.98 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1029, allocations: 7.938 kB / 485.8 MB, free: 15.29 MB / 366.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 8.255e-05/0.103, allocations: 121.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.103, allocations: 7.906 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.1034, allocations: 166.7 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1034, allocations: 3.938 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1034, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1034, allocations: 3.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.104, allocations: 468 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.104, allocations: 8.031 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1041, allocations: 31.97 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1042, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1042, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1042, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1042, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1045, allocations: 269 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1046, allocations: 88.92 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1046, allocations: 3.984 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.1047, allocations: 12.19 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1047, allocations: 11.97 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1048, allocations: 12 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.1049, allocations: 139.2 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1049, allocations: 0 / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1051, allocations: 24 kB / 487.1 MB, free: 13.83 MB / 366.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.001346/0.1065, allocations: 1.123 MB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.1068, allocations: 119.8 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1068, allocations: 0 / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1069, allocations: 55.91 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1072, allocations: 27.97 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1091, allocations: 1.783 MB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1094, allocations: 0.7119 MB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.1094, allocations: 12.56 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.1095, allocations: 35.42 kB / 491 MB, free: 9.973 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1095, allocations: 0 / 491 MB, free: 9.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/1.136, allocations: 3.233 MB / 494.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/13.1, allocations: 15.75 kB / 494.2 MB, free: 6.793 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches