Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.001352/0.001352, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001589/0.001589, allocations: 217.8 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.26 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00244/0.00244, allocations: 71.91 kB / 467.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1184, allocations: 61.05 MB / 0.5162 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003174/0.1215, allocations: 1.561 MB / 0.5177 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007443/0.1223, allocations: 327.6 kB / 0.518 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.1223, allocations: 0 / 0.518 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.1225, allocations: 23.86 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1227, allocations: 39.84 kB / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.123, allocations: 91.81 kB / 0.5181 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1232, allocations: 63.77 kB / 0.5182 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1233, allocations: 7.984 kB / 0.5182 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.1234, allocations: 23.86 kB / 0.5182 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.1234, allocations: 19.86 kB / 0.5183 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1234, allocations: 4 kB / 0.5183 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.1235, allocations: 31.98 kB / 0.5183 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.1236, allocations: 19.92 kB / 0.5183 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.1236, allocations: 15.88 kB / 0.5183 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1238, allocations: 67.73 kB / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1238, allocations: 0 / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1238, allocations: 0 / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1238, allocations: 0 / 0.5184 GB, free: 4.859 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.0005092/0.1243, allocations: 309.8 kB / 0.5187 GB, free: 4.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1244, allocations: 8.031 kB / 0.5187 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1244, allocations: 30.75 kB / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1245, allocations: 8.891 kB / 0.5187 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1247, allocations: 138.4 kB / 0.5189 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1247, allocations: 384 / 0.5189 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1247, allocations: 8.359 kB / 0.5189 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1248, allocations: 53.62 kB / 0.5189 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1249, allocations: 0 / 0.5189 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1249, allocations: 0 / 0.5189 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1249, allocations: 0 / 0.5189 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.795e-05/0.125, allocations: 23.92 kB / 0.5189 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1254, allocations: 248 kB / 0.5192 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1256, allocations: 46.56 kB / 0.5192 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.1257, allocations: 16.94 kB / 0.5192 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1257, allocations: 0 / 0.5192 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1257, allocations: 38.5 kB / 0.5193 GB, free: 3.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1257, allocations: 0 / 0.5193 GB, free: 3.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005702/0.1263, allocations: 145.4 kB / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.1264, allocations: 55.39 kB / 0.5195 GB, free: 3.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1265, allocations: 142.1 kB / 0.5196 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1265, allocations: 25.7 kB / 0.5196 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.1266, allocations: 92.14 kB / 0.5197 GB, free: 3.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1266, allocations: 23.78 kB / 0.5197 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1267, allocations: 17.72 kB / 0.5198 GB, free: 3.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1268, allocations: 318.8 kB / 0.5201 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.1269, allocations: 23.97 kB / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.127, allocations: 23.92 kB / 0.5201 GB, free: 2.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1271, allocations: 57.02 kB / 0.5202 GB, free: 2.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1271, allocations: 0 / 0.5202 GB, free: 2.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.1273, allocations: 93.55 kB / 0.5202 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1273, allocations: 8 kB / 0.5203 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1273, allocations: 0 / 0.5203 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1274, allocations: 0 / 0.5203 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.1274, allocations: 8 kB / 0.5203 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1274, allocations: 0 / 0.5203 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.786e-05/0.1275, allocations: 11.92 kB / 0.5203 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1275, allocations: 11.94 kB / 0.5203 GB, free: 2.715 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 9.141e-05/0.1276, allocations: 113.8 kB / 0.5204 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.1276, allocations: 8.234 kB / 0.5204 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.1279, allocations: 97.98 kB / 0.5205 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.1279, allocations: 7.984 kB / 0.5205 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1279, allocations: 0 / 0.5205 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1279, allocations: 0 / 0.5205 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.1284, allocations: 321.6 kB / 0.5208 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1284, allocations: 0 / 0.5208 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.1285, allocations: 12 kB / 0.5208 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1285, allocations: 0 / 0.5208 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1285, allocations: 4 kB / 0.5208 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1285, allocations: 3.938 kB / 0.5208 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1285, allocations: 11.91 kB / 0.5208 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1287, allocations: 179.7 kB / 0.521 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.1287, allocations: 3.953 kB / 0.521 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1287, allocations: 7.984 kB / 0.521 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.1288, allocations: 11.94 kB / 0.521 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.1289, allocations: 7.984 kB / 0.521 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1289, allocations: 0 / 0.521 GB, free: 1.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.129, allocations: 111.1 kB / 0.5211 GB, free: 1.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.129, allocations: 0 / 0.5211 GB, free: 1.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1292, allocations: 19.94 kB / 0.5212 GB, free: 1.73 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.002285/0.1315, allocations: 1.043 MB / 0.5222 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1317, allocations: 51.95 kB / 0.5222 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1317, allocations: 0 / 0.5222 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.1318, allocations: 27.92 kB / 0.5223 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1321, allocations: 19.92 kB / 0.5223 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1339, allocations: 1.421 MB / 0.5237 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.547e-05/0.1339, allocations: 75.33 kB / 0.5237 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.134, allocations: 11.98 kB / 0.5238 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.1341, allocations: 19.44 kB / 0.5238 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1341, allocations: 0 / 0.5238 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.1645, allocations: 3.067 MB / 0.5268 GB, free: 11.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.8, allocations: 3.984 kB / 0.5268 GB, free: 11.8 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.973634750116616]