Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 112.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 180.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3574, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002475/0.3599, allocations: 1.616 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.3606, allocations: 429 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.3606, allocations: 0 / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.3612, allocations: 445.8 kB / 0.5209 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.3617, allocations: 262 kB / 0.5211 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.362, allocations: 127.1 kB / 0.5212 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.3622, allocations: 162.6 kB / 0.5214 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.445e-05/0.3623, allocations: 17.52 kB / 0.5214 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3625, allocations: 108.4 kB / 0.5215 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.3627, allocations: 205.2 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3628, allocations: 2.656 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.3629, allocations: 35.31 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.363, allocations: 85.83 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.3631, allocations: 107.6 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.3634, allocations: 253.5 kB / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3634, allocations: 0 / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3634, allocations: 0 / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3634, allocations: 0 / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006142/0.364, allocations: 0.657 MB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3641, allocations: 10.84 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.34e-05/0.3641, allocations: 31.41 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.3641, allocations: 44.09 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.3644, allocations: 299.2 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3644, allocations: 5.594 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3644, allocations: 6.438 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3646, allocations: 51.05 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3646, allocations: 1.469 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3646, allocations: 4 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3646, allocations: 5.188 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/0.3647, allocations: 27.09 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3651, allocations: 396.1 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.3653, allocations: 40.67 kB / 0.5237 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.3654, allocations: 16.91 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3654, allocations: 1.938 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.3654, allocations: 31.97 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3654, allocations: 4 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006336/0.3661, allocations: 234.5 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3661, allocations: 53.19 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/0.367, allocations: 0.8625 MB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.367, allocations: 26.89 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3672, allocations: 222.7 kB / 0.5251 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3672, allocations: 22.75 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.3673, allocations: 20.62 kB / 0.5251 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3675, allocations: 360.1 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.3676, allocations: 23.61 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.3676, allocations: 13.89 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3678, allocations: 48.03 kB / 0.5256 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3678, allocations: 4 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000218/0.368, allocations: 112.7 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.368, allocations: 4.469 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.368, allocations: 1.953 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.368, allocations: 3.984 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.3681, allocations: 16.78 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.3681, allocations: 7.875 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.3682, allocations: 5.75 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3682, allocations: 6.031 kB / 0.5257 GB, free: 14.85 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 (5): * Single equations (assignments): 5 * 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.0002098/0.3684, allocations: 207.8 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.3685, allocations: 45.81 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.3688, allocations: 129.6 kB / 0.5261 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3688, allocations: 0 / 0.5261 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3688, allocations: 4.625 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3688, allocations: 1.766 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.3695, allocations: 458.5 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3695, allocations: 10.06 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.3695, allocations: 11.03 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3695, allocations: 5.188 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3696, allocations: 4.797 kB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3696, allocations: 5.281 kB / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3696, allocations: 0 / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3698, allocations: 225.7 kB / 0.5268 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.3699, allocations: 114.4 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.37, allocations: 5.312 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.3701, allocations: 2.75 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3701, allocations: 10.73 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3701, allocations: 1.375 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.3707, allocations: 0.6488 MB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3707, allocations: 4 kB / 0.5275 GB, free: 13.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.371, allocations: 29.2 kB / 0.5276 GB, free: 13.6 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 (5): * Single equations (assignments): 5 * 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.001291/0.3723, allocations: 1.041 MB / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.3725, allocations: 48.22 kB / 0.5286 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3725, allocations: 0 / 0.5286 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.3726, allocations: 28.02 kB / 0.5287 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.373, allocations: 30.61 kB / 0.5287 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.3766, allocations: 3.195 MB / 0.5318 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.377, allocations: 0.826 MB / 0.5326 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.377, allocations: 10.58 kB / 0.5326 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3772, allocations: 104.1 kB / 0.5327 GB, free: 9.809 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3772, allocations: 0 / 0.5327 GB, free: 9.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.4005, allocations: 5.982 MB / 0.5386 GB, free: 6.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.63, allocations: 2.406 kB / 0.5386 GB, free: 6.77 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches