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.001705/0.001705, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001996/0.001996, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 79.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3573, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003168/0.3605, allocations: 1.669 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3615, allocations: 0.5679 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.3616, allocations: 1.438 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.3621, allocations: 449 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.3626, allocations: 291.6 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.363, allocations: 139.1 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.3632, allocations: 171.8 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3634, allocations: 25.61 kB / 0.5338 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3635, allocations: 114 kB / 0.5339 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.3637, allocations: 206.5 kB / 0.5341 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3638, allocations: 4.531 kB / 0.5341 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3639, allocations: 51.73 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.364, allocations: 86.62 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.3641, allocations: 112 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.3645, allocations: 279.3 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3645, allocations: 0 / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3645, allocations: 0 / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3645, allocations: 0 / 0.5346 GB, free: 10.64 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.0007938/0.3653, allocations: 0.6736 MB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3653, allocations: 9.062 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.3654, allocations: 36.14 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.3655, allocations: 44.34 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.3658, allocations: 314.6 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3658, allocations: 5.938 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3658, allocations: 4.75 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.366, allocations: 60.2 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.366, allocations: 0 / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.366, allocations: 0 / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.366, allocations: 1.469 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3661, allocations: 32.8 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3667, allocations: 403.7 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3668, allocations: 46.88 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.3668, allocations: 20.39 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3669, allocations: 1.031 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3669, allocations: 35.62 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3669, allocations: 0 / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009619/0.3679, allocations: 317.6 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3679, allocations: 56.94 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.3688, allocations: 0.8676 MB / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3689, allocations: 31.3 kB / 0.5375 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3691, allocations: 234.2 kB / 0.5377 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.3691, allocations: 22.44 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.3692, allocations: 27.48 kB / 0.5378 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3693, allocations: 356.6 kB / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.3694, allocations: 26.08 kB / 0.5381 GB, free: 7.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.3695, allocations: 30.72 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.3697, allocations: 65.02 kB / 0.5382 GB, free: 7.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3697, allocations: 0 / 0.5382 GB, free: 7.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000251/0.3699, allocations: 134.9 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.37, allocations: 5.969 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.37, allocations: 0 / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.37, allocations: 1.312 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3701, allocations: 25.55 kB / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3701, allocations: 3.938 kB / 0.5384 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.3702, allocations: 11.58 kB / 0.5384 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3702, allocations: 2.281 kB / 0.5384 GB, free: 7.633 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.0002013/0.3704, allocations: 214.3 kB / 0.5386 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.3705, allocations: 47.39 kB / 0.5387 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.3708, allocations: 165.1 kB / 0.5388 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3708, allocations: 7.938 kB / 0.5388 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3709, allocations: 0.875 kB / 0.5388 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3709, allocations: 0 / 0.5388 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.3716, allocations: 0.5039 MB / 0.5393 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3716, allocations: 1.031 kB / 0.5393 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.3716, allocations: 22.11 kB / 0.5393 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3717, allocations: 0 / 0.5393 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3717, allocations: 5.656 kB / 0.5393 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3717, allocations: 1.5 kB / 0.5393 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3717, allocations: 1.094 kB / 0.5393 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.372, allocations: 238.5 kB / 0.5396 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.3721, allocations: 115.3 kB / 0.5397 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3721, allocations: 1.75 kB / 0.5397 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.3722, allocations: 14.8 kB / 0.5397 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3723, allocations: 8.812 kB / 0.5397 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3723, allocations: 9.266 kB / 0.5397 GB, free: 6.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006509/0.3729, allocations: 0.6554 MB / 0.5404 GB, free: 6.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3729, allocations: 0 / 0.5404 GB, free: 6.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3732, allocations: 34.58 kB / 0.5404 GB, free: 6.219 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.00216/0.3754, allocations: 1.13 MB / 0.5415 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.3756, allocations: 71.67 kB / 0.5416 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3756, allocations: 0 / 0.5416 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.3757, allocations: 39.06 kB / 0.5416 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.3762, allocations: 27.42 kB / 0.5416 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.3803, allocations: 3.334 MB / 0.5449 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.3808, allocations: 0.826 MB / 0.5457 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.284e-05/0.3809, allocations: 24.72 kB / 0.5457 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3811, allocations: 107.4 kB / 0.5458 GB, free: 1.801 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3811, allocations: 0 / 0.5458 GB, free: 1.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.4101, allocations: 6.364 MB / 0.552 GB, free: 11.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/9.02, allocations: 12.7 kB / 0.552 GB, free: 11.5 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