Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001153, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4269, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004547/0.4315, allocations: 2.047 MB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.4336, allocations: 1.022 MB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.4339, allocations: 2.625 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.4345, allocations: 256.1 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006856/0.4352, allocations: 261.9 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.4364, allocations: 496.8 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.437, allocations: 329.4 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.4372, allocations: 64.8 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.4375, allocations: 135.7 kB / 0.535 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.4378, allocations: 218.2 kB / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.4379, allocations: 11.78 kB / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.4381, allocations: 97.7 kB / 0.5353 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.4383, allocations: 88.84 kB / 0.5354 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.4384, allocations: 129.2 kB / 0.5355 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.439, allocations: 361.3 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.439, allocations: 0 / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.439, allocations: 4 kB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.439, allocations: 1.062 kB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001085/0.4401, allocations: 0.7013 MB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4402, allocations: 10.59 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.4402, allocations: 41.42 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.4404, allocations: 48.17 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.4408, allocations: 335.9 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4408, allocations: 8.719 kB / 0.537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.4409, allocations: 12 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.4411, allocations: 117.8 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4412, allocations: 1.062 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4412, allocations: 9.031 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4412, allocations: 7.125 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.4414, allocations: 66.48 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/0.4422, allocations: 0.4992 MB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.4424, allocations: 98.92 kB / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.4425, allocations: 33.59 kB / 0.5378 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.4425, allocations: 6.328 kB / 0.5378 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4425, allocations: 35.59 kB / 0.5378 GB, free: 7.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4426, allocations: 0 / 0.5378 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001081/0.4436, allocations: 400.4 kB / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.4437, allocations: 58 kB / 0.5383 GB, free: 7.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007765/0.4445, allocations: 0.5894 MB / 0.5388 GB, free: 7.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4445, allocations: 29.7 kB / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.4447, allocations: 216.8 kB / 0.5391 GB, free: 6.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.4447, allocations: 57.64 kB / 0.5391 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.4448, allocations: 33.45 kB / 0.5392 GB, free: 6.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.445, allocations: 359.7 kB / 0.5395 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4451, allocations: 46.06 kB / 0.5396 GB, free: 6.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4452, allocations: 54.16 kB / 0.5396 GB, free: 6.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.4455, allocations: 122.2 kB / 0.5397 GB, free: 6.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4455, allocations: 0 / 0.5397 GB, free: 6.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003866/0.4459, allocations: 204 kB / 0.5399 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4459, allocations: 9.5 kB / 0.5399 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4459, allocations: 0 / 0.5399 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.446, allocations: 1.344 kB / 0.5399 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.4461, allocations: 35.17 kB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.4461, allocations: 0 / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.4462, allocations: 9.766 kB / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.4463, allocations: 4.844 kB / 0.54 GB, free: 6.309 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 (17): * Single equations (assignments): 17 * 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.0001804/0.4464, allocations: 186.8 kB / 0.5402 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.4465, allocations: 42.97 kB / 0.5402 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.447, allocations: 236.7 kB / 0.5404 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.447, allocations: 0 / 0.5404 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4471, allocations: 1.375 kB / 0.5404 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4471, allocations: 0 / 0.5404 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.448, allocations: 0.6522 MB / 0.5411 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.448, allocations: 4 kB / 0.5411 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4481, allocations: 38.38 kB / 0.5411 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4481, allocations: 5.141 kB / 0.5411 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4481, allocations: 10.34 kB / 0.5411 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4481, allocations: 5.062 kB / 0.5411 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4482, allocations: 0 / 0.5411 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.4486, allocations: 294.7 kB / 0.5414 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4487, allocations: 127.6 kB / 0.5415 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.4487, allocations: 1.125 kB / 0.5415 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4489, allocations: 12.34 kB / 0.5415 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.4489, allocations: 10.95 kB / 0.5415 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4489, allocations: 7.797 kB / 0.5416 GB, free: 5.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.4494, allocations: 441.4 kB / 0.542 GB, free: 4.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4494, allocations: 0 / 0.542 GB, free: 4.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.4498, allocations: 52.52 kB / 0.542 GB, free: 4.816 MB / 398.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 (17): * Single equations (assignments): 17 * 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.002308/0.4521, allocations: 1.413 MB / 0.5434 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.4525, allocations: 140.3 kB / 0.5435 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4525, allocations: 0 / 0.5435 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4526, allocations: 76.5 kB / 0.5436 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.4532, allocations: 85.61 kB / 0.5437 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.4578, allocations: 3.176 MB / 0.5468 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4582, allocations: 0.8143 MB / 0.5476 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.4584, allocations: 42.27 kB / 0.5476 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.4586, allocations: 143.4 kB / 0.5478 GB, free: 15.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4586, allocations: 0 / 0.5478 GB, free: 15.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.4863, allocations: 7.643 MB / 0.5552 GB, free: 8.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.659, allocations: 3.938 kB / 0.5552 GB, free: 8.355 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches