Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001656/0.001656, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2238/0.2238, allocations: 44.94 MB / 358.8 MB, free: 6.043 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.002147/0.002147, allocations: 71.91 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3749, allocations: 65.48 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003657/0.3786, allocations: 1.608 MB / 0.5586 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3798, allocations: 0.531 MB / 0.5591 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.3798, allocations: 7.938 kB / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.3802, allocations: 111.6 kB / 0.5592 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.3805, allocations: 111.6 kB / 0.5593 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.3809, allocations: 115.7 kB / 0.5594 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3811, allocations: 95.75 kB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3812, allocations: 17.8 kB / 0.5595 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.3813, allocations: 39.84 kB / 0.5596 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3815, allocations: 75.73 kB / 0.5596 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.3815, allocations: 4 kB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3816, allocations: 47.97 kB / 0.5597 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.3817, allocations: 23.92 kB / 0.5597 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.3817, allocations: 27.73 kB / 0.5597 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.382, allocations: 115.5 kB / 0.5598 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.382, allocations: 0 / 0.5598 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.382, allocations: 3.938 kB / 0.5598 GB, free: 4.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.382, allocations: 4 kB / 0.5599 GB, free: 4.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007326/0.3827, allocations: 357.4 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.3828, allocations: 8.031 kB / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/0.3828, allocations: 38.73 kB / 0.5602 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3829, allocations: 12.89 kB / 0.5602 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.3832, allocations: 147.1 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3832, allocations: 4.375 kB / 0.5604 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3832, allocations: 4.375 kB / 0.5604 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3834, allocations: 57.61 kB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.3834, allocations: 3.953 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3834, allocations: 4 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3834, allocations: 0 / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3835, allocations: 35.91 kB / 0.5605 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.384, allocations: 271.9 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3842, allocations: 46.56 kB / 0.5608 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.3842, allocations: 24.88 kB / 0.5608 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3843, allocations: 0 / 0.5608 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.3843, allocations: 30.56 kB / 0.5609 GB, free: 3.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3843, allocations: 4 kB / 0.5609 GB, free: 3.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00102/0.3853, allocations: 249.1 kB / 0.5611 GB, free: 3.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.3854, allocations: 55.34 kB / 0.5611 GB, free: 3.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3857, allocations: 258.9 kB / 0.5614 GB, free: 2.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3857, allocations: 25.7 kB / 0.5614 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.3858, allocations: 116.1 kB / 0.5615 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.3858, allocations: 27.75 kB / 0.5616 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.3859, allocations: 25.7 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3861, allocations: 326.8 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.3861, allocations: 27.92 kB / 0.5619 GB, free: 2.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.3862, allocations: 31.97 kB / 0.5619 GB, free: 2.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3864, allocations: 76.83 kB / 0.562 GB, free: 2.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3864, allocations: 0 / 0.562 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.3866, allocations: 117.5 kB / 0.5621 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3866, allocations: 8 kB / 0.5621 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3866, allocations: 0 / 0.5621 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3866, allocations: 0 / 0.5621 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3867, allocations: 24.41 kB / 0.5622 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3868, allocations: 3.938 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.3868, allocations: 4 kB / 0.5622 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3868, allocations: 0 / 0.5622 GB, free: 2.027 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 0.0001211/0.3869, allocations: 141.8 kB / 0.5623 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.387, allocations: 15.91 kB / 0.5623 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.3873, allocations: 127 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3873, allocations: 7.984 kB / 0.5624 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3873, allocations: 3.938 kB / 0.5625 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3873, allocations: 0 / 0.5625 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.3879, allocations: 398.7 kB / 0.5628 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3879, allocations: 4.031 kB / 0.5628 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.388, allocations: 23.86 kB / 0.5629 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.388, allocations: 4 kB / 0.5629 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.388, allocations: 0 / 0.5629 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.388, allocations: 0 / 0.5629 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.388, allocations: 0 / 0.5629 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.3883, allocations: 216.3 kB / 0.5631 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.3883, allocations: 15.88 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3883, allocations: 0 / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.3884, allocations: 15.94 kB / 0.5631 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3884, allocations: 7.984 kB / 0.5631 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.3884, allocations: 4 kB / 0.5631 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3886, allocations: 191.2 kB / 0.5633 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3886, allocations: 0 / 0.5633 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3889, allocations: 23.94 kB / 0.5633 GB, free: 0.7578 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002437/0.3913, allocations: 1.137 MB / 0.5644 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3916, allocations: 67.89 kB / 0.5645 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3916, allocations: 0 / 0.5645 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3917, allocations: 43.91 kB / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3921, allocations: 27.03 kB / 0.5646 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.3945, allocations: 1.804 MB / 0.5663 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3946, allocations: 105.8 kB / 0.5664 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.3947, allocations: 24.95 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.3947, allocations: 35.42 kB / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3947, allocations: 0 / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.4269, allocations: 3.893 MB / 0.5703 GB, free: 9.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.8, allocations: 8.047 kB / 0.5703 GB, free: 9.742 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.9642118900083]