Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001324/0.001324, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001524/0.001524, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2279/0.2279, allocations: 44.93 MB / 358.8 MB, free: 6.156 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.002255/0.002255, allocations: 68.12 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3447, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004427/0.3492, allocations: 1.655 MB / 0.5586 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3502, allocations: 0.7556 MB / 0.5593 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.3503, allocations: 0 / 0.5593 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.3505, allocations: 31.83 kB / 0.5594 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.3508, allocations: 47.83 kB / 0.5594 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.839e-06/0.3508, allocations: 0 / 0.5594 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.351, allocations: 27.91 kB / 0.5594 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.351, allocations: 2.109 kB / 0.5594 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.3511, allocations: 19.91 kB / 0.5594 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.3511, allocations: 15.88 kB / 0.5595 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.3512, allocations: 0 / 0.5595 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.3512, allocations: 12 kB / 0.5595 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.3513, allocations: 16.89 kB / 0.5595 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.3513, allocations: 15.88 kB / 0.5595 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3515, allocations: 71.61 kB / 0.5596 GB, free: 5.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3515, allocations: 4 kB / 0.5596 GB, free: 5.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3515, allocations: 0 / 0.5596 GB, free: 5.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3515, allocations: 0 / 0.5596 GB, free: 5.027 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.000432/0.3519, allocations: 286 kB / 0.5599 GB, free: 4.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.352, allocations: 19.97 kB / 0.5599 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.352, allocations: 38.73 kB / 0.5599 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.3521, allocations: 8.891 kB / 0.5599 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3522, allocations: 114.4 kB / 0.56 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3522, allocations: 4.375 kB / 0.56 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3522, allocations: 8.312 kB / 0.56 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3525, allocations: 123.3 kB / 0.5602 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3525, allocations: 7.938 kB / 0.5602 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3525, allocations: 7.938 kB / 0.5602 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.3525, allocations: 19.98 kB / 0.5602 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.3526, allocations: 51.84 kB / 0.5602 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.3533, allocations: 0.8508 MB / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3534, allocations: 169.1 kB / 0.5612 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.3535, allocations: 88.08 kB / 0.5613 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.3535, allocations: 75.28 kB / 0.5614 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.3536, allocations: 105.8 kB / 0.5615 GB, free: 2.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3536, allocations: 0 / 0.5615 GB, free: 2.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.356e-05/0.3537, allocations: 45.62 kB / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.3538, allocations: 130.7 kB / 0.5617 GB, free: 2.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.354, allocations: 190.1 kB / 0.5618 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.354, allocations: 25.7 kB / 0.5619 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3541, allocations: 155.5 kB / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.3541, allocations: 0 / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.3541, allocations: 45.66 kB / 0.5621 GB, free: 2.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3543, allocations: 322.8 kB / 0.5624 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.3543, allocations: 31.98 kB / 0.5624 GB, free: 1.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.3545, allocations: 159.2 kB / 0.5625 GB, free: 1.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3547, allocations: 200.9 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3547, allocations: 0 / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003279/0.3551, allocations: 213.5 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3551, allocations: 4 kB / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3551, allocations: 4 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3551, allocations: 8 kB / 0.563 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3552, allocations: 35.92 kB / 0.563 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3552, allocations: 8 kB / 0.563 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.3553, allocations: 23.84 kB / 0.563 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3553, allocations: 8 kB / 0.563 GB, free: 1.137 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.0001438/0.3555, allocations: 221.2 kB / 0.5632 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.3556, allocations: 116.8 kB / 0.5633 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.3556, allocations: 120.6 kB / 0.5635 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.36e-05/0.3557, allocations: 176.3 kB / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.374e-05/0.3558, allocations: 188.2 kB / 0.5638 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.585e-05/0.3559, allocations: 180.3 kB / 0.564 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.3562, allocations: 400.2 kB / 0.5644 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-05/0.3562, allocations: 105 kB / 0.5645 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.3563, allocations: 109 kB / 0.5646 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.098e-05/0.3563, allocations: 184.2 kB / 0.5647 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.3564, allocations: 176.3 kB / 0.5649 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.09e-05/0.3565, allocations: 188.2 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.063e-05/0.3566, allocations: 180.2 kB / 0.5653 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.3567, allocations: 323.6 kB / 0.5656 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3568, allocations: 108.9 kB / 0.5657 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.3569, allocations: 180.2 kB / 0.5658 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.357, allocations: 109 kB / 0.566 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.3571, allocations: 184.2 kB / 0.5661 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.3571, allocations: 101 kB / 0.5662 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3572, allocations: 132.1 kB / 0.5663 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3572, allocations: 0 / 0.5663 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.3575, allocations: 16 kB / 0.5664 GB, free: 13.51 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.001075/0.3586, allocations: 0.9274 MB / 0.5673 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.3588, allocations: 71.78 kB / 0.5673 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3588, allocations: 1.25 kB / 0.5673 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.3588, allocations: 4 kB / 0.5673 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3592, allocations: 466.2 kB / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.361, allocations: 1.871 MB / 0.5696 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.679e-05/0.3611, allocations: 87.45 kB / 0.5697 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.3613, allocations: 53.02 kB / 0.5697 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.3614, allocations: 23.42 kB / 0.5698 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3614, allocations: 8 kB / 0.5698 GB, free: 9.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.3909, allocations: 2.614 MB / 0.5723 GB, free: 7.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.64, allocations: 6.812 kB / 0.5723 GB, free: 7.258 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_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_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.628901913762093]