Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001412, allocations: 197.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00321/0.3698, allocations: 1.616 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3709, allocations: 0.558 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.3709, allocations: 1.938 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.3716, allocations: 456.8 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.3721, allocations: 291.7 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.3726, allocations: 172.4 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.3729, allocations: 170.4 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.373, allocations: 10.86 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.3731, allocations: 106.9 kB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3734, allocations: 210.5 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3735, allocations: 2.281 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3736, allocations: 31.52 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3737, allocations: 82.19 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3738, allocations: 103.7 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.3742, allocations: 255.2 kB / 0.5345 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3742, allocations: 0 / 0.5345 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3742, allocations: 1.125 kB / 0.5345 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3742, allocations: 0 / 0.5345 GB, free: 10.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008978/0.3751, allocations: 0.6622 MB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3752, allocations: 9.469 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.3752, allocations: 31.84 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.3753, allocations: 43.59 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.3757, allocations: 315.8 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3757, allocations: 1.625 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.3757, allocations: 1.375 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3759, allocations: 48.81 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3759, allocations: 5.344 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3759, allocations: 4 kB / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3759, allocations: 1.219 kB / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3761, allocations: 25.16 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.3767, allocations: 386.4 kB / 0.536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.958e-05/0.3768, allocations: 32.97 kB / 0.536 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.3768, allocations: 19.56 kB / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3769, allocations: 1.156 kB / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3769, allocations: 35.62 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3769, allocations: 0 / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000311/0.3772, allocations: 108.1 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3773, allocations: 52.56 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3783, allocations: 0.8821 MB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3783, allocations: 29.64 kB / 0.5371 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3785, allocations: 227 kB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.3786, allocations: 7.891 kB / 0.5374 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3786, allocations: 16.88 kB / 0.5374 GB, free: 8.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.3788, allocations: 364.2 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.3788, allocations: 14.06 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.3789, allocations: 10.02 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.379, allocations: 30.09 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.379, allocations: 1.5 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.3792, allocations: 103.1 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3792, allocations: 4.219 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3792, allocations: 1.812 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3792, allocations: 0 / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.3793, allocations: 8.25 kB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3793, allocations: 4.031 kB / 0.5379 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.3794, allocations: 6.453 kB / 0.5379 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.3794, allocations: 1.375 kB / 0.5379 GB, free: 7.926 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 (2): * Single equations (assignments): 2 * 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.0002015/0.3796, allocations: 209.5 kB / 0.5381 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.3797, allocations: 46.77 kB / 0.5381 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.3799, allocations: 112.6 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3799, allocations: 1.469 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3799, allocations: 7.969 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3799, allocations: 0 / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.3803, allocations: 289.2 kB / 0.5385 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3803, allocations: 1.031 kB / 0.5385 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.3803, allocations: 8.172 kB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3803, allocations: 0 / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3803, allocations: 1.031 kB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3803, allocations: 0 / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3803, allocations: 1 kB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3806, allocations: 194.1 kB / 0.5387 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.3807, allocations: 115 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3807, allocations: 1.062 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.3808, allocations: 5.266 kB / 0.5389 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.3808, allocations: 5.188 kB / 0.5389 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3808, allocations: 1.125 kB / 0.5389 GB, free: 7.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007449/0.3816, allocations: 0.6637 MB / 0.5395 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3816, allocations: 1.188 kB / 0.5395 GB, free: 6.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000248/0.3818, allocations: 23.38 kB / 0.5395 GB, free: 6.77 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 (2): * Single equations (assignments): 2 * 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.001676/0.3835, allocations: 0.9638 MB / 0.5405 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3837, allocations: 23.45 kB / 0.5405 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3837, allocations: 5.062 kB / 0.5405 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.3837, allocations: 19.58 kB / 0.5405 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.3842, allocations: 25.11 kB / 0.5405 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.3878, allocations: 3.185 MB / 0.5437 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.3883, allocations: 0.8231 MB / 0.5445 GB, free: 3.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.3884, allocations: 19.94 kB / 0.5445 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3885, allocations: 115.6 kB / 0.5446 GB, free: 2.98 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3885, allocations: 3.938 kB / 0.5446 GB, free: 2.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.4158, allocations: 5.787 MB / 0.5502 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.864, allocations: 11.78 kB / 0.5503 GB, free: 13.31 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches