Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.00182/0.00182, 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.00219/0.00219, allocations: 218.2 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.494/1.494, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.2176/0.2176, allocations: 44.27 MB / 330.4 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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.003222/0.003222, allocations: 75.89 kB / 467.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1515, allocations: 61.03 MB / 0.5162 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00404/0.1556, allocations: 1.615 MB / 0.5177 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.1564, allocations: 339.7 kB / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.1565, allocations: 0 / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.1572, allocations: 459.1 kB / 0.5185 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.1576, allocations: 255.4 kB / 0.5187 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.1581, allocations: 151.7 kB / 0.5189 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.1584, allocations: 167.6 kB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1585, allocations: 20.16 kB / 0.5191 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1586, allocations: 107.7 kB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.1589, allocations: 247.5 kB / 0.5194 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.159, allocations: 7.938 kB / 0.5194 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1591, allocations: 35.97 kB / 0.5194 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1592, allocations: 87.69 kB / 0.5195 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.1593, allocations: 67.25 kB / 0.5196 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.1596, allocations: 270.6 kB / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1596, allocations: 0 / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1596, allocations: 0 / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1597, allocations: 0 / 0.5199 GB, free: 3.359 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.0008176/0.1605, allocations: 0.5738 MB / 0.5204 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1605, allocations: 8.031 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.1606, allocations: 38.69 kB / 0.5205 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.1606, allocations: 48.61 kB / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.161, allocations: 242.8 kB / 0.5207 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.161, allocations: 4.375 kB / 0.5207 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.161, allocations: 8.125 kB / 0.5207 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1612, allocations: 57.61 kB / 0.5208 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1612, allocations: 0 / 0.5208 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1612, allocations: 4 kB / 0.5208 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1612, allocations: 0 / 0.5208 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1613, allocations: 27.98 kB / 0.5208 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.1619, allocations: 359.8 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1622, allocations: 50.5 kB / 0.5212 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.1623, allocations: 16.94 kB / 0.5212 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1623, allocations: 3.984 kB / 0.5212 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1623, allocations: 34.56 kB / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1623, allocations: 0 / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007887/0.1631, allocations: 244.7 kB / 0.5215 GB, free: 1.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.1632, allocations: 51.41 kB / 0.5216 GB, free: 1.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.1643, allocations: 0.873 MB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1643, allocations: 25.7 kB / 0.5224 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.1645, allocations: 224.1 kB / 0.5226 GB, free: 324 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1645, allocations: 23.78 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.1646, allocations: 17.72 kB / 0.5227 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.1648, allocations: 362.8 kB / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.1649, allocations: 23.97 kB / 0.5231 GB, free: 15.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.165, allocations: 20.17 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1651, allocations: 60.77 kB / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1651, allocations: 4 kB / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002505/0.1654, allocations: 121.4 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1654, allocations: 4 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1654, allocations: 0 / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1654, allocations: 0 / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.1655, allocations: 15.94 kB / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1655, allocations: 3.938 kB / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.1656, allocations: 11.92 kB / 0.5233 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1656, allocations: 4 kB / 0.5233 GB, free: 15.63 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 0.0002394/0.1658, allocations: 213.8 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.1659, allocations: 43.72 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.1662, allocations: 141.1 kB / 0.5237 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1662, allocations: 4 kB / 0.5237 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1662, allocations: 3.938 kB / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1662, allocations: 0 / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.1669, allocations: 429.5 kB / 0.5241 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1669, allocations: 0 / 0.5241 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.167, allocations: 16.17 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.167, allocations: 3.938 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.167, allocations: 8 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.167, allocations: 0 / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.167, allocations: 0 / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.1673, allocations: 219.2 kB / 0.5243 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.1674, allocations: 43.7 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1674, allocations: 7.938 kB / 0.5244 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.1675, allocations: 4 kB / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1676, allocations: 3.984 kB / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1676, allocations: 7.938 kB / 0.5244 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007782/0.1683, allocations: 0.6511 MB / 0.525 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1683, allocations: 4 kB / 0.525 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1686, allocations: 19.98 kB / 0.525 GB, free: 13.75 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.00222/0.1708, allocations: 1.077 MB / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1711, allocations: 59.89 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1711, allocations: 0 / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.1711, allocations: 23.98 kB / 0.5262 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1715, allocations: 30.23 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.1758, allocations: 3.25 MB / 0.5294 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1761, allocations: 224.1 kB / 0.5296 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.1761, allocations: 19.97 kB / 0.5296 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1763, allocations: 107.4 kB / 0.5297 GB, free: 8.875 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1763, allocations: 0 / 0.5297 GB, free: 8.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.2119, allocations: 6.58 MB / 0.5361 GB, free: 2.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.71, allocations: 3.953 kB / 0.5361 GB, free: 2.176 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv. Warning: Get data of variable const.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.137813842855394]