Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.001286/0.001286, allocations: 114.6 kB / 19.69 MB, free: 2.188 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.001426/0.001426, allocations: 215.6 kB / 23 MB, free: 5.004 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.433/1.433, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2124/0.2124, allocations: 44.23 MB / 330.3 MB, free: 9.531 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.002165/0.002165, allocations: 79.88 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 61.04 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003177/0.1281, allocations: 1.592 MB / 0.5177 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.1288, allocations: 347.4 kB / 0.518 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.1289, allocations: 0 / 0.518 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.1292, allocations: 99.73 kB / 0.5181 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1294, allocations: 75.72 kB / 0.5182 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1297, allocations: 87.81 kB / 0.5183 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1298, allocations: 83.81 kB / 0.5184 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1299, allocations: 20.14 kB / 0.5184 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.13, allocations: 39.84 kB / 0.5184 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1301, allocations: 63.81 kB / 0.5185 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1301, allocations: 4 kB / 0.5185 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.1302, allocations: 31.98 kB / 0.5185 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.1303, allocations: 23.92 kB / 0.5186 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.1303, allocations: 43.66 kB / 0.5186 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1305, allocations: 99.53 kB / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1305, allocations: 0 / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1305, allocations: 0 / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1305, allocations: 4 kB / 0.5187 GB, free: 4.715 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000501/0.131, allocations: 341.6 kB / 0.519 GB, free: 4.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1311, allocations: 15.97 kB / 0.519 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1311, allocations: 34.75 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1312, allocations: 16.84 kB / 0.5191 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1314, allocations: 147.3 kB / 0.5192 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1314, allocations: 384 / 0.5192 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1314, allocations: 12.12 kB / 0.5192 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1316, allocations: 79.31 kB / 0.5193 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1316, allocations: 4 kB / 0.5193 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1316, allocations: 4 kB / 0.5193 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1316, allocations: 0 / 0.5193 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1317, allocations: 35.91 kB / 0.5194 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.1322, allocations: 372.1 kB / 0.5197 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.1325, allocations: 85.16 kB / 0.5198 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.1326, allocations: 33.8 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1326, allocations: 3.984 kB / 0.5198 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1327, allocations: 38.5 kB / 0.5199 GB, free: 3.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1327, allocations: 4 kB / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007335/0.1334, allocations: 237.1 kB / 0.5201 GB, free: 3.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.1335, allocations: 88.98 kB / 0.5202 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.1337, allocations: 230.3 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1337, allocations: 29.7 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1338, allocations: 108.1 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.1338, allocations: 39.73 kB / 0.5206 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.1339, allocations: 21.72 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.134, allocations: 322.8 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.1341, allocations: 31.97 kB / 0.5209 GB, free: 2.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.1342, allocations: 45.69 kB / 0.521 GB, free: 2.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1344, allocations: 93.62 kB / 0.5211 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1344, allocations: 0 / 0.5211 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002562/0.1347, allocations: 121.5 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1347, allocations: 4 kB / 0.5212 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1347, allocations: 4 kB / 0.5212 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1347, allocations: 0 / 0.5212 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.1348, allocations: 23.92 kB / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1348, allocations: 3.938 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.1348, allocations: 15.94 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1349, allocations: 8.234 kB / 0.5212 GB, free: 1.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001202/0.135, allocations: 129.8 kB / 0.5214 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.135, allocations: 15.91 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.1354, allocations: 150.6 kB / 0.5215 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1354, allocations: 4 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1354, allocations: 4.125 kB / 0.5215 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1354, allocations: 4 kB / 0.5215 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/0.136, allocations: 494 kB / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.136, allocations: 3.938 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.1361, allocations: 19.98 kB / 0.522 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1361, allocations: 0 / 0.522 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1361, allocations: 8 kB / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1361, allocations: 4.031 kB / 0.522 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1361, allocations: 0 / 0.522 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.1365, allocations: 295.6 kB / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.1365, allocations: 19.83 kB / 0.5223 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1365, allocations: 4 kB / 0.5223 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1366, allocations: 8 kB / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.1367, allocations: 7.984 kB / 0.5223 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1367, allocations: 4.188 kB / 0.5224 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1368, allocations: 176.2 kB / 0.5225 GB, free: 480 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1368, allocations: 0 / 0.5225 GB, free: 480 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1371, allocations: 16 kB / 0.5225 GB, free: 464 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.00205/0.1391, allocations: 1.145 MB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1394, allocations: 79.89 kB / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1394, allocations: 4 kB / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.1395, allocations: 43.91 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.14, allocations: 15.98 kB / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1421, allocations: 1.858 MB / 0.5256 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1425, allocations: 0.7196 MB / 0.5263 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.1426, allocations: 32.38 kB / 0.5263 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.1427, allocations: 43.42 kB / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1427, allocations: 0 / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.1704, allocations: 3.341 MB / 0.5296 GB, free: 8.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.89, allocations: 0 / 0.5296 GB, free: 8.984 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.176506775002053]