Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.002055/0.002055, 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.00251/0.00251, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2365/0.2365, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.002045/0.002045, allocations: 67.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3756, allocations: 65.47 MB / 0.557 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003498/0.3791, allocations: 1.596 MB / 0.5585 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3812, allocations: 1.232 MB / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.3813, allocations: 0 / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.3815, allocations: 19.86 kB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.3818, allocations: 87.61 kB / 0.5598 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.3822, allocations: 95.58 kB / 0.5599 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3823, allocations: 67.77 kB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3824, allocations: 5.828 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.3825, allocations: 35.91 kB / 0.56 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3826, allocations: 27.84 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3826, allocations: 4 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3828, allocations: 91.89 kB / 0.5602 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.3829, allocations: 15.92 kB / 0.5602 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3829, allocations: 23.86 kB / 0.5602 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3832, allocations: 135.5 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3832, allocations: 0 / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3832, allocations: 3.938 kB / 0.5603 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3832, allocations: 0 / 0.5603 GB, free: 4.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005279/0.3837, allocations: 329.7 kB / 0.5606 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3838, allocations: 8.031 kB / 0.5607 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.3838, allocations: 30.75 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3838, allocations: 12.88 kB / 0.5607 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.3841, allocations: 145 kB / 0.5608 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3841, allocations: 384 / 0.5608 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3841, allocations: 384 / 0.5608 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3843, allocations: 105 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3843, allocations: 0 / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3843, allocations: 0 / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3843, allocations: 4 kB / 0.5609 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.3844, allocations: 19.98 kB / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.3848, allocations: 244 kB / 0.5612 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.385, allocations: 42.5 kB / 0.5612 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.385, allocations: 16.86 kB / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3851, allocations: 96 / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3851, allocations: 38.55 kB / 0.5613 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3851, allocations: 0 / 0.5613 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005837/0.3857, allocations: 141.4 kB / 0.5614 GB, free: 2.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3857, allocations: 77.11 kB / 0.5615 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3859, allocations: 144.2 kB / 0.5616 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3859, allocations: 33.64 kB / 0.5617 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.386, allocations: 100.1 kB / 0.5618 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.386, allocations: 15.8 kB / 0.5618 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.386, allocations: 25.7 kB / 0.5618 GB, free: 2.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3862, allocations: 318.8 kB / 0.5621 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.3863, allocations: 19.98 kB / 0.5621 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.3864, allocations: 63.39 kB / 0.5622 GB, free: 2.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.3865, allocations: 44.78 kB / 0.5622 GB, free: 1.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3865, allocations: 192 / 0.5622 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001902/0.3867, allocations: 89.61 kB / 0.5623 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3867, allocations: 4 kB / 0.5623 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3867, allocations: 0 / 0.5623 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3867, allocations: 4.031 kB / 0.5623 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.3868, allocations: 12 kB / 0.5623 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3868, allocations: 7.969 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.3869, allocations: 7.938 kB / 0.5623 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3869, allocations: 0 / 0.5623 GB, free: 1.836 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.000105/0.387, allocations: 113.8 kB / 0.5625 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.387, allocations: 7.953 kB / 0.5625 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3872, allocations: 93.98 kB / 0.5625 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3872, allocations: 4 kB / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3872, allocations: 0 / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3873, allocations: 7.938 kB / 0.5626 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.3877, allocations: 317.6 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3877, allocations: 0 / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.3878, allocations: 8 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3878, allocations: 0 / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3878, allocations: 3.938 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3878, allocations: 4 kB / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3878, allocations: 7.984 kB / 0.5629 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.388, allocations: 171.7 kB / 0.563 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.3881, allocations: 11.95 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3881, allocations: 7.938 kB / 0.5631 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3882, allocations: 7.984 kB / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.3882, allocations: 0 / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3882, allocations: 7.938 kB / 0.5631 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3883, allocations: 117.5 kB / 0.5632 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3883, allocations: 0 / 0.5632 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3886, allocations: 43.86 kB / 0.5632 GB, free: 0.8281 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.002328/0.3909, allocations: 1.127 MB / 0.5643 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3912, allocations: 55.78 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3912, allocations: 0 / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.3912, allocations: 23.98 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3917, allocations: 23.06 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3937, allocations: 1.425 MB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3938, allocations: 83.02 kB / 0.5659 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.039e-05/0.3939, allocations: 15.78 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.3939, allocations: 27.41 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3939, allocations: 4 kB / 0.566 GB, free: 14.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.4276, allocations: 3.826 MB / 0.5697 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.88, allocations: 3.938 kB / 0.5697 GB, free: 10.35 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.140534756705165]