Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001388/0.001388, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001503/0.001503, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.264/0.264, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003079/0.003079, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3726, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002896/0.3754, allocations: 1.594 MB / 0.5622 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3774, allocations: 1.24 MB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.3775, allocations: 0 / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3777, allocations: 23.86 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.378, allocations: 87.61 kB / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3783, allocations: 119.4 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3785, allocations: 67.84 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.3786, allocations: 9.812 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.3786, allocations: 35.84 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3788, allocations: 27.8 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3788, allocations: 4 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.3789, allocations: 91.88 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.379, allocations: 19.92 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.379, allocations: 19.86 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.3793, allocations: 135.5 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3793, allocations: 4 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3793, allocations: 0 / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3793, allocations: 0 / 0.564 GB, free: 0.7578 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.0005015/0.3798, allocations: 329.7 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3799, allocations: 8.031 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.3799, allocations: 34.69 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.3799, allocations: 8.891 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3801, allocations: 149.2 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3801, allocations: 384 / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3802, allocations: 4.375 kB / 0.5645 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3803, allocations: 93.05 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3804, allocations: 3.984 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3804, allocations: 0 / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3804, allocations: 0 / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.3805, allocations: 27.92 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.3809, allocations: 248 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.381, allocations: 42.56 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.3811, allocations: 20.94 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3811, allocations: 0 / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3812, allocations: 34.5 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.3812, allocations: 4 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000524/0.3817, allocations: 145.5 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.3817, allocations: 81.05 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3819, allocations: 144.3 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3819, allocations: 25.7 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.382, allocations: 104.1 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.382, allocations: 19.86 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.382, allocations: 21.7 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3822, allocations: 318.8 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.3823, allocations: 23.97 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.3824, allocations: 59.41 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3825, allocations: 57.02 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3825, allocations: 4.031 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002114/0.3827, allocations: 93.48 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3827, allocations: 4 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3827, allocations: 0 / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3828, allocations: 3.938 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.3828, allocations: 19.98 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.3828, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.3829, allocations: 7.938 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3829, allocations: 0 / 0.566 GB, free: 14.44 MB / 414.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 9.128e-05/0.383, allocations: 121.8 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.383, allocations: 7.953 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.3833, allocations: 98 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3833, allocations: 0 / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3833, allocations: 0 / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3833, allocations: 4.219 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.3838, allocations: 321.6 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3838, allocations: 4 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.3838, allocations: 12 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3838, allocations: 7.969 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3838, allocations: 3.938 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3838, allocations: 192 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3839, allocations: 7.938 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3841, allocations: 187.5 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.3841, allocations: 3.953 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.3842, allocations: 3.938 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.3842, allocations: 8 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.3843, allocations: 7.984 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3843, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.3844, allocations: 115.2 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3844, allocations: 0 / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3847, allocations: 39.88 kB / 0.5669 GB, free: 13.41 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 (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.002279/0.3869, allocations: 1.147 MB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.3871, allocations: 59.89 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3871, allocations: 0 / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.3872, allocations: 27.92 kB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.3877, allocations: 19.3 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3895, allocations: 1.442 MB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.148e-05/0.3896, allocations: 87.08 kB / 0.5697 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.628e-05/0.3897, allocations: 24.23 kB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.3897, allocations: 27.42 kB / 0.5697 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3897, allocations: 0 / 0.5697 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.421, allocations: 3.847 MB / 0.5735 GB, free: 6.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 11.69 kB / 0.5735 GB, free: 6.863 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_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_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.990568673238158]