Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3698, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003116/0.373, allocations: 1.671 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.374, allocations: 0.5604 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.3741, allocations: 0 / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.3747, allocations: 449 kB / 0.5332 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.3752, allocations: 293.1 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.3756, allocations: 133.9 kB / 0.5336 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.3758, allocations: 172.6 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3759, allocations: 17.61 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3761, allocations: 113.4 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.3763, allocations: 218.6 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3763, allocations: 4.125 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3764, allocations: 56.91 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.3766, allocations: 82.41 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.3767, allocations: 106.9 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.3771, allocations: 279.5 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3771, allocations: 1.062 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3771, allocations: 4 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.3771, allocations: 0 / 0.5346 GB, free: 10.72 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.0007534/0.3779, allocations: 0.6686 MB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3779, allocations: 13.84 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.378, allocations: 35.88 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.378, allocations: 43.97 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.3784, allocations: 312.1 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3784, allocations: 1.438 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.3784, allocations: 3.906 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3786, allocations: 67.45 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3786, allocations: 5.031 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.3786, allocations: 0 / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3787, allocations: 2.125 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3788, allocations: 24.17 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.3794, allocations: 399.9 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3795, allocations: 51.09 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3796, allocations: 16.86 kB / 0.5362 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3796, allocations: 3.984 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3796, allocations: 31.91 kB / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3796, allocations: 0 / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009389/0.3806, allocations: 320.6 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.3806, allocations: 56.62 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.3816, allocations: 0.8734 MB / 0.5374 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3816, allocations: 29.64 kB / 0.5374 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3818, allocations: 222.8 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3819, allocations: 30.77 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.3819, allocations: 24.19 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.3821, allocations: 364.5 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.3822, allocations: 25.27 kB / 0.5381 GB, free: 7.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.3823, allocations: 27.42 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3824, allocations: 60.8 kB / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3825, allocations: 0 / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002333/0.3827, allocations: 138.3 kB / 0.5383 GB, free: 7.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3827, allocations: 5.312 kB / 0.5383 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3827, allocations: 1.219 kB / 0.5383 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3828, allocations: 0 / 0.5383 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3829, allocations: 34.36 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3829, allocations: 0 / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.3829, allocations: 4.094 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.383, allocations: 3.031 kB / 0.5383 GB, free: 7.719 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.0001913/0.3832, allocations: 217 kB / 0.5385 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.3832, allocations: 47.39 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.3836, allocations: 161.4 kB / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3836, allocations: 3.938 kB / 0.5387 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3836, allocations: 1.188 kB / 0.5387 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3836, allocations: 4.406 kB / 0.5387 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.3843, allocations: 0.5036 MB / 0.5392 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3843, allocations: 1.125 kB / 0.5392 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.3843, allocations: 17.64 kB / 0.5393 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3844, allocations: 1.062 kB / 0.5393 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3844, allocations: 1.438 kB / 0.5393 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3844, allocations: 5.266 kB / 0.5393 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3844, allocations: 1.328 kB / 0.5393 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.3848, allocations: 258.7 kB / 0.5395 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.3849, allocations: 111.1 kB / 0.5396 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.3849, allocations: 5.312 kB / 0.5396 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.385, allocations: 7.203 kB / 0.5396 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.385, allocations: 3.406 kB / 0.5396 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.385, allocations: 7.5 kB / 0.5396 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007071/0.3858, allocations: 0.6582 MB / 0.5403 GB, free: 6.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3858, allocations: 1.094 kB / 0.5403 GB, free: 6.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.386, allocations: 30.44 kB / 0.5403 GB, free: 6.305 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.00146/0.3875, allocations: 1.131 MB / 0.5414 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3877, allocations: 68.11 kB / 0.5415 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3877, allocations: 0 / 0.5415 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.3878, allocations: 38.48 kB / 0.5415 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3882, allocations: 29.36 kB / 0.5415 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.392, allocations: 3.335 MB / 0.5448 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.3924, allocations: 0.826 MB / 0.5456 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.3925, allocations: 20.7 kB / 0.5456 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.3926, allocations: 115.3 kB / 0.5457 GB, free: 1.891 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3926, allocations: 0 / 0.5457 GB, free: 1.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.4197, allocations: 6.365 MB / 0.552 GB, free: 11.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.524, allocations: 12.7 kB / 0.552 GB, free: 11.59 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_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_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches