Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 117.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 75.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3554, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003632/0.3591, allocations: 1.674 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3603, allocations: 0.5558 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.3603, allocations: 1.844 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.3609, allocations: 457.2 kB / 0.5332 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.3614, allocations: 287.3 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.3618, allocations: 140.4 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.362, allocations: 165.2 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3622, allocations: 28.22 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3623, allocations: 110.8 kB / 0.5339 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.3625, allocations: 214.4 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3626, allocations: 3.688 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3627, allocations: 52.98 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3628, allocations: 82.33 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.3629, allocations: 111.7 kB / 0.5343 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.3633, allocations: 274.8 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3633, allocations: 5.141 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3633, allocations: 0 / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3633, allocations: 0 / 0.5346 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008203/0.3641, allocations: 0.6767 MB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3642, allocations: 10 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.3642, allocations: 31.94 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.3643, allocations: 47.12 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3646, allocations: 304.3 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3647, allocations: 5.75 kB / 0.5356 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3647, allocations: 7.703 kB / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3649, allocations: 59.5 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3649, allocations: 1.094 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3649, allocations: 0 / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3649, allocations: 1.375 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.365, allocations: 36.59 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.3655, allocations: 404.2 kB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.3657, allocations: 42.88 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3657, allocations: 16.59 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3658, allocations: 1.531 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3658, allocations: 38.56 kB / 0.5362 GB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3658, allocations: 0 / 0.5362 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009613/0.3668, allocations: 313.2 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3668, allocations: 57.28 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/0.3678, allocations: 0.8759 MB / 0.5374 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.3678, allocations: 30.67 kB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.368, allocations: 221.9 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.3681, allocations: 34.88 kB / 0.5377 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.3681, allocations: 20.72 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3683, allocations: 360 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.3684, allocations: 26.08 kB / 0.5381 GB, free: 7.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.3685, allocations: 31.8 kB / 0.5381 GB, free: 7.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3686, allocations: 59.67 kB / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3686, allocations: 0 / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002487/0.3689, allocations: 139 kB / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3689, allocations: 6.062 kB / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3689, allocations: 0 / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3689, allocations: 0 / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.369, allocations: 22.83 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3691, allocations: 7.938 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.3691, allocations: 4.594 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3691, allocations: 13.3 kB / 0.5383 GB, free: 7.707 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 (8): * Single equations (assignments): 8 * 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.0001869/0.3693, allocations: 214.5 kB / 0.5385 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.3694, allocations: 47.86 kB / 0.5386 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.3698, allocations: 163.8 kB / 0.5387 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3698, allocations: 5.094 kB / 0.5388 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3698, allocations: 0 / 0.5388 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3698, allocations: 1.031 kB / 0.5388 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.3705, allocations: 0.503 MB / 0.5392 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3706, allocations: 1.219 kB / 0.5392 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.3706, allocations: 17.36 kB / 0.5393 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3707, allocations: 5.156 kB / 0.5393 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.3707, allocations: 2.25 kB / 0.5393 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3707, allocations: 1.188 kB / 0.5393 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3707, allocations: 0 / 0.5393 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.371, allocations: 248.1 kB / 0.5395 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.3711, allocations: 119.2 kB / 0.5396 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3711, allocations: 5.312 kB / 0.5396 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.3712, allocations: 3.781 kB / 0.5396 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3713, allocations: 10.64 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3713, allocations: 2.75 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000726/0.372, allocations: 0.6595 MB / 0.5403 GB, free: 6.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.372, allocations: 0 / 0.5403 GB, free: 6.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.3723, allocations: 30.59 kB / 0.5403 GB, free: 6.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00157/0.3739, allocations: 1.134 MB / 0.5414 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3741, allocations: 71.75 kB / 0.5415 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3742, allocations: 0 / 0.5415 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/0.3743, allocations: 30.42 kB / 0.5415 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3747, allocations: 36.94 kB / 0.5416 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.3787, allocations: 3.331 MB / 0.5448 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3791, allocations: 0.8299 MB / 0.5456 GB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.3792, allocations: 28.7 kB / 0.5456 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.3793, allocations: 111.4 kB / 0.5458 GB, free: 1.883 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3793, allocations: 0 / 0.5458 GB, free: 1.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.4048, allocations: 6.349 MB / 0.552 GB, free: 11.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.677, allocations: 10.14 kB / 0.552 GB, free: 11.59 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_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_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches