Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001532/0.001532, allocations: 111.6 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.001466/0.001466, allocations: 214.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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2256/0.2256, allocations: 44.9 MB / 358.8 MB, free: 6.32 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002056/0.002056, allocations: 65.78 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3926, allocations: 65.47 MB / 0.557 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003244/0.3958, allocations: 1.633 MB / 0.5586 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3969, allocations: 0.5698 MB / 0.5592 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.397, allocations: 4 kB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.3972, allocations: 27.84 kB / 0.5592 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.3975, allocations: 71.64 kB / 0.5593 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.3978, allocations: 127.6 kB / 0.5594 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3979, allocations: 71.77 kB / 0.5595 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.398, allocations: 9.828 kB / 0.5595 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.3981, allocations: 27.86 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.3982, allocations: 35.83 kB / 0.5595 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3982, allocations: 4 kB / 0.5596 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.3984, allocations: 99.88 kB / 0.5596 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.3984, allocations: 11.98 kB / 0.5597 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.3985, allocations: 31.8 kB / 0.5597 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3987, allocations: 139.5 kB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3987, allocations: 4 kB / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3987, allocations: 0 / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3987, allocations: 0 / 0.5598 GB, free: 4.941 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.0004867/0.3992, allocations: 341.6 kB / 0.5602 GB, free: 4.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3992, allocations: 8.031 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.3993, allocations: 34.75 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3993, allocations: 8.891 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3995, allocations: 138.4 kB / 0.5603 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3995, allocations: 4.312 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.3996, allocations: 8.375 kB / 0.5603 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3997, allocations: 71.28 kB / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3997, allocations: 0 / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3997, allocations: 0 / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3997, allocations: 4 kB / 0.5604 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.19e-05/0.3998, allocations: 23.97 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.4003, allocations: 264 kB / 0.5607 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.4004, allocations: 54.48 kB / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.4005, allocations: 20.94 kB / 0.5608 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4005, allocations: 4 kB / 0.5608 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.4005, allocations: 30.56 kB / 0.5608 GB, free: 3.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4005, allocations: 4 kB / 0.5608 GB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006051/0.4011, allocations: 189.4 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.4012, allocations: 77.11 kB / 0.5611 GB, free: 3.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4013, allocations: 157.5 kB / 0.5612 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.4014, allocations: 29.7 kB / 0.5612 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.4014, allocations: 96.12 kB / 0.5613 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.4014, allocations: 19.8 kB / 0.5613 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.4015, allocations: 29.7 kB / 0.5614 GB, free: 3.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4016, allocations: 326.8 kB / 0.5617 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.4017, allocations: 27.98 kB / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.4018, allocations: 45.69 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.402, allocations: 76.78 kB / 0.5618 GB, free: 2.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.402, allocations: 0 / 0.5618 GB, free: 2.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002221/0.4022, allocations: 105.8 kB / 0.5619 GB, free: 2.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4022, allocations: 10.34 kB / 0.5619 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4022, allocations: 80 / 0.5619 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.4022, allocations: 0 / 0.5619 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.4023, allocations: 15.98 kB / 0.562 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.4023, allocations: 3.984 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.4024, allocations: 15.92 kB / 0.562 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.4024, allocations: 8 kB / 0.562 GB, free: 2.523 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 9.58e-05/0.4025, allocations: 121.7 kB / 0.5621 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.4025, allocations: 7.953 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.4028, allocations: 110.4 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4028, allocations: 3.938 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4028, allocations: 0 / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4028, allocations: 7.922 kB / 0.5622 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.4033, allocations: 369.5 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4033, allocations: 0 / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.4034, allocations: 15.98 kB / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.4034, allocations: 3.938 kB / 0.5626 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4034, allocations: 4 kB / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4034, allocations: 0 / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4034, allocations: 4 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.4037, allocations: 195.4 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.4037, allocations: 7.953 kB / 0.5628 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.4037, allocations: 7.922 kB / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.4038, allocations: 8 kB / 0.5628 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.4038, allocations: 7.984 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.4038, allocations: 0 / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4039, allocations: 115.3 kB / 0.5629 GB, free: 1.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4039, allocations: 0 / 0.5629 GB, free: 1.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.4042, allocations: 47.86 kB / 0.563 GB, free: 1.418 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 (7): * Single equations (assignments): 7 * 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.002134/0.4063, allocations: 1.131 MB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.4066, allocations: 75.92 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4066, allocations: 0 / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.4066, allocations: 35.92 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.407, allocations: 18.22 kB / 0.5642 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.4088, allocations: 1.534 MB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4091, allocations: 0.7002 MB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.492e-05/0.4092, allocations: 21.11 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.4092, allocations: 27.42 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4092, allocations: 0 / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.4365, allocations: 3.684 MB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 6.281 kB / 0.57 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.882750326003588]