Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.92 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.83 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 65.47 MB / 0.557 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003922/0.3479, allocations: 1.661 MB / 0.5587 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.349, allocations: 0.7633 MB / 0.5594 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.349, allocations: 0 / 0.5594 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.3493, allocations: 35.78 kB / 0.5594 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.3495, allocations: 44.8 kB / 0.5595 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.419e-06/0.3495, allocations: 4 kB / 0.5595 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3497, allocations: 35.89 kB / 0.5595 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.3497, allocations: 1.828 kB / 0.5595 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.3497, allocations: 11.92 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.3498, allocations: 15.92 kB / 0.5595 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3498, allocations: 4 kB / 0.5595 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.3499, allocations: 8 kB / 0.5596 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.3499, allocations: 19.92 kB / 0.5596 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.35, allocations: 23.8 kB / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3501, allocations: 71.56 kB / 0.5597 GB, free: 5.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3501, allocations: 4 kB / 0.5597 GB, free: 5.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3501, allocations: 0 / 0.5597 GB, free: 5.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3501, allocations: 0 / 0.5597 GB, free: 5.094 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004171/0.3505, allocations: 294 kB / 0.5599 GB, free: 4.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3506, allocations: 8.031 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.3506, allocations: 42.73 kB / 0.56 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3507, allocations: 4.891 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3508, allocations: 118.4 kB / 0.5601 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3508, allocations: 4.375 kB / 0.5601 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.3508, allocations: 4.375 kB / 0.5601 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3511, allocations: 125.5 kB / 0.5602 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3511, allocations: 3.938 kB / 0.5602 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3511, allocations: 4 kB / 0.5602 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.3511, allocations: 23.98 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.3512, allocations: 47.91 kB / 0.5603 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.352, allocations: 0.8625 MB / 0.5612 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.3523, allocations: 173.2 kB / 0.5613 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.3524, allocations: 92 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.3524, allocations: 75.28 kB / 0.5615 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/0.3525, allocations: 105.8 kB / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3525, allocations: 0 / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.793e-05/0.3526, allocations: 41.61 kB / 0.5616 GB, free: 2.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.3527, allocations: 126.7 kB / 0.5617 GB, free: 2.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3529, allocations: 186.1 kB / 0.5619 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3529, allocations: 25.7 kB / 0.5619 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.353, allocations: 151.5 kB / 0.5621 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-06/0.353, allocations: 4 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3532, allocations: 41.66 kB / 0.5621 GB, free: 2.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003425/0.3536, allocations: 326.8 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.3536, allocations: 43.8 kB / 0.5625 GB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3538, allocations: 157.2 kB / 0.5626 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.354, allocations: 196.9 kB / 0.5628 GB, free: 1.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.354, allocations: 4 kB / 0.5628 GB, free: 1.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003905/0.3544, allocations: 201 kB / 0.563 GB, free: 1.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3545, allocations: 14.95 kB / 0.563 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3545, allocations: 4 kB / 0.563 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3545, allocations: 8 kB / 0.563 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3546, allocations: 35.92 kB / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3546, allocations: 11.94 kB / 0.5631 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.3547, allocations: 23.83 kB / 0.5631 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3547, allocations: 8 kB / 0.5631 GB, free: 1.195 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001631/0.3549, allocations: 221 kB / 0.5633 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.355, allocations: 112.9 kB / 0.5634 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.3551, allocations: 124.5 kB / 0.5636 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/0.3552, allocations: 176.3 kB / 0.5637 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-05/0.3553, allocations: 184.4 kB / 0.5639 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.024e-05/0.3553, allocations: 184.2 kB / 0.5641 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.3557, allocations: 396.2 kB / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/0.3557, allocations: 104.9 kB / 0.5646 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.3558, allocations: 105 kB / 0.5647 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.071e-05/0.3558, allocations: 184.3 kB / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.3559, allocations: 184.2 kB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-05/0.356, allocations: 176.3 kB / 0.5652 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.234e-05/0.3561, allocations: 184.2 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.3563, allocations: 315.7 kB / 0.5657 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.3564, allocations: 120.9 kB / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.3565, allocations: 176.3 kB / 0.5659 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3566, allocations: 104.9 kB / 0.566 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.3567, allocations: 188.3 kB / 0.5662 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.3567, allocations: 101 kB / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.3568, allocations: 132.1 kB / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3568, allocations: 0 / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.3572, allocations: 15.94 kB / 0.5665 GB, free: 13.58 MB / 414.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 (0): * Single equations (assignments): 0 * 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.00112/0.3583, allocations: 0.9236 MB / 0.5674 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.3585, allocations: 71.78 kB / 0.5674 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3585, allocations: 1.25 kB / 0.5674 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3585, allocations: 0 / 0.5674 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.3589, allocations: 463.7 kB / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3609, allocations: 1.884 MB / 0.5697 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3612, allocations: 0.6967 MB / 0.5704 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.3614, allocations: 52.95 kB / 0.5704 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.3615, allocations: 31.42 kB / 0.5705 GB, free: 9.262 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3615, allocations: 0 / 0.5705 GB, free: 9.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.3922, allocations: 2.362 MB / 0.5728 GB, free: 6.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.64, allocations: 10.39 kB / 0.5728 GB, free: 6.953 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.65958000899991]