Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.0013/0.0013, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001556/0.001556, allocations: 223.4 kB / 23.01 MB, free: 5.039 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.448/1.448, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.2105/0.2105, allocations: 44.24 MB / 330.3 MB, free: 9.52 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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",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.003565/0.003565, allocations: 83.86 kB / 467.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1451, allocations: 61.04 MB / 0.5162 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.003027/0.1481, allocations: 1.572 MB / 0.5177 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.1488, allocations: 343.5 kB / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.1488, allocations: 3.938 kB / 0.518 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1491, allocations: 79.77 kB / 0.5181 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1493, allocations: 63.8 kB / 0.5182 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1495, allocations: 83.77 kB / 0.5182 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1497, allocations: 63.88 kB / 0.5183 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1498, allocations: 15.97 kB / 0.5183 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.1498, allocations: 35.8 kB / 0.5184 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1499, allocations: 47.88 kB / 0.5184 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.15, allocations: 4 kB / 0.5184 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.15, allocations: 28 kB / 0.5184 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.1501, allocations: 19.92 kB / 0.5184 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.1501, allocations: 27.73 kB / 0.5185 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1503, allocations: 91.59 kB / 0.5186 GB, free: 4.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1503, allocations: 0 / 0.5186 GB, free: 4.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1503, allocations: 0 / 0.5186 GB, free: 4.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1503, allocations: 0 / 0.5186 GB, free: 4.84 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.0004852/0.1508, allocations: 317.8 kB / 0.5189 GB, free: 4.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.1509, allocations: 12.03 kB / 0.5189 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.1509, allocations: 34.75 kB / 0.5189 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.1509, allocations: 8.891 kB / 0.5189 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1511, allocations: 138.4 kB / 0.519 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1511, allocations: 4.375 kB / 0.5191 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1512, allocations: 384 / 0.5191 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1513, allocations: 53.56 kB / 0.5191 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1513, allocations: 0 / 0.5191 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1513, allocations: 0 / 0.5191 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1513, allocations: 0 / 0.5191 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1514, allocations: 31.97 kB / 0.5191 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.1518, allocations: 263.9 kB / 0.5194 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.152, allocations: 46.5 kB / 0.5194 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.1521, allocations: 16.94 kB / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1521, allocations: 0 / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.1522, allocations: 38.56 kB / 0.5195 GB, free: 3.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1522, allocations: 0 / 0.5195 GB, free: 3.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000541/0.1527, allocations: 153.5 kB / 0.5196 GB, free: 3.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1527, allocations: 51.41 kB / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1529, allocations: 194.2 kB / 0.5199 GB, free: 3.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1529, allocations: 25.7 kB / 0.5199 GB, free: 3.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.153, allocations: 100.1 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.153, allocations: 19.83 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1531, allocations: 17.72 kB / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1532, allocations: 326.8 kB / 0.5203 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.1533, allocations: 27.86 kB / 0.5204 GB, free: 2.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.1534, allocations: 19.98 kB / 0.5204 GB, free: 2.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1535, allocations: 52.83 kB / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1535, allocations: 0 / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001852/0.1537, allocations: 93.55 kB / 0.5205 GB, free: 2.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1537, allocations: 4 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1537, allocations: 0 / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1537, allocations: 4 kB / 0.5205 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.1538, allocations: 11.98 kB / 0.5205 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1538, allocations: 0 / 0.5205 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.1538, allocations: 8 kB / 0.5205 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1538, allocations: 3.938 kB / 0.5205 GB, free: 2.609 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.711e-05/0.1539, allocations: 121.8 kB / 0.5207 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1539, allocations: 15.91 kB / 0.5207 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1542, allocations: 98.25 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1542, allocations: 3.984 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1542, allocations: 4.062 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1542, allocations: 4 kB / 0.5208 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.1546, allocations: 333.6 kB / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1546, allocations: 0 / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1547, allocations: 11.94 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1547, allocations: 0 / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1547, allocations: 4 kB / 0.5211 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1547, allocations: 3.938 kB / 0.5211 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1547, allocations: 0 / 0.5211 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1549, allocations: 183.5 kB / 0.5213 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.1549, allocations: 7.953 kB / 0.5213 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.155, allocations: 7.984 kB / 0.5213 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.155, allocations: 3.938 kB / 0.5213 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1551, allocations: 7.984 kB / 0.5213 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1551, allocations: 0 / 0.5213 GB, free: 1.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1552, allocations: 151.9 kB / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1552, allocations: 0 / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1554, allocations: 19.95 kB / 0.5215 GB, free: 1.562 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.001871/0.1573, allocations: 1.023 MB / 0.5225 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1575, allocations: 51.95 kB / 0.5225 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1575, allocations: 0 / 0.5225 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.1576, allocations: 27.92 kB / 0.5226 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.158, allocations: 23.92 kB / 0.5226 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1597, allocations: 1.541 MB / 0.5241 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1601, allocations: 0.7041 MB / 0.5248 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.1601, allocations: 16.05 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.1602, allocations: 27.44 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1602, allocations: 0 / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.1886, allocations: 2.867 MB / 0.5276 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.96, allocations: 8 kB / 0.5276 GB, free: 11.11 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_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_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.201732189998438]