Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001288/0.001288, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2141/0.2141, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3904, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003318/0.3938, allocations: 1.639 MB / 0.5201 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.3948, allocations: 425.9 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.3949, allocations: 0.9062 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.3952, allocations: 69.27 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3955, allocations: 67.19 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.396, allocations: 132.7 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.3962, allocations: 84.33 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3964, allocations: 15.56 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.3964, allocations: 35.14 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.3966, allocations: 55.58 kB / 0.5209 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.3966, allocations: 8.531 kB / 0.5209 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3968, allocations: 51.73 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.3969, allocations: 21.98 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.3969, allocations: 35 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3971, allocations: 115.9 kB / 0.5211 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3971, allocations: 0 / 0.5211 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3972, allocations: 0 / 0.5211 GB, free: 1.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3972, allocations: 1 kB / 0.5211 GB, free: 1.609 MB / 382.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.0004859/0.3977, allocations: 426 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3977, allocations: 12.88 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.3977, allocations: 37.81 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3978, allocations: 14.55 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3979, allocations: 199.8 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.398, allocations: 5.688 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.398, allocations: 7.281 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3982, allocations: 68.61 kB / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3982, allocations: 0 / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3982, allocations: 1.375 kB / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3982, allocations: 0 / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3984, allocations: 44.36 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.3988, allocations: 312.2 kB / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.399, allocations: 56.48 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/0.3991, allocations: 33.42 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3991, allocations: 5.062 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.3991, allocations: 36.16 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3991, allocations: 1.125 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001529/0.4007, allocations: 385.6 kB / 0.5227 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.4007, allocations: 62.34 kB / 0.5228 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.401, allocations: 211 kB / 0.523 GB, free: 136 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.401, allocations: 25.7 kB / 0.523 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.4011, allocations: 106.3 kB / 0.5231 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.4012, allocations: 43.06 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.4012, allocations: 23.52 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4014, allocations: 321.9 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4015, allocations: 48.11 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.4017, allocations: 40.22 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.402, allocations: 100.9 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.402, allocations: 0 / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003628/0.4024, allocations: 147.3 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4024, allocations: 5.969 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4024, allocations: 0.5625 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4024, allocations: 5.375 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4026, allocations: 28.22 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4026, allocations: 2.141 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.4026, allocations: 9.359 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4027, allocations: 7.438 kB / 0.5238 GB, free: 15.49 MB / 398.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.0001226/0.4028, allocations: 130.4 kB / 0.524 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.4028, allocations: 14.39 kB / 0.524 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.4033, allocations: 174.3 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4033, allocations: 2.875 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4033, allocations: 4 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4034, allocations: 8.547 kB / 0.5242 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.4041, allocations: 467.6 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4041, allocations: 0 / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4042, allocations: 33.91 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4042, allocations: 1.797 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4042, allocations: 6.406 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4043, allocations: 1.75 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4043, allocations: 1.219 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.4046, allocations: 252.6 kB / 0.5249 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.4047, allocations: 91.8 kB / 0.525 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4047, allocations: 6.125 kB / 0.525 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.4048, allocations: 12.88 kB / 0.525 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.4049, allocations: 13.72 kB / 0.525 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4049, allocations: 3.156 kB / 0.525 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.405, allocations: 160.3 kB / 0.5252 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4051, allocations: 0 / 0.5252 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.4053, allocations: 29.89 kB / 0.5252 GB, free: 14.46 MB / 398.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.001701/0.407, allocations: 1.143 MB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4075, allocations: 107.5 kB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4075, allocations: 0 / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4077, allocations: 59.36 kB / 0.5265 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.4081, allocations: 24.59 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.4106, allocations: 1.843 MB / 0.5283 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4109, allocations: 0.7112 MB / 0.529 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.825e-05/0.411, allocations: 20.52 kB / 0.529 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.4111, allocations: 38.77 kB / 0.529 GB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4111, allocations: 0 / 0.529 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.4315, allocations: 3.422 MB / 0.5324 GB, free: 9.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.193, allocations: 12.3 kB / 0.5324 GB, free: 9.715 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches