Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.00148/0.00148, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001583/0.001583, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.564/1.564, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002074/0.002074, allocations: 63.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1452, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003232/0.1484, allocations: 1.605 MB / 0.5533 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1504, allocations: 1.164 MB / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.1505, allocations: 0 / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1507, allocations: 23.78 kB / 0.5545 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.151, allocations: 91.61 kB / 0.5546 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1513, allocations: 83.77 kB / 0.5547 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1514, allocations: 71.7 kB / 0.5547 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1516, allocations: 15.92 kB / 0.5547 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.1516, allocations: 27.86 kB / 0.5548 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.1518, allocations: 35.84 kB / 0.5548 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1518, allocations: 4 kB / 0.5548 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.152, allocations: 103.9 kB / 0.5549 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.152, allocations: 11.88 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1521, allocations: 31.8 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1523, allocations: 127.6 kB / 0.5551 GB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1523, allocations: 0 / 0.5551 GB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1523, allocations: 4 kB / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1524, allocations: 0 / 0.5551 GB, free: 6.711 MB / 414.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.0006359/0.153, allocations: 409 kB / 0.5555 GB, free: 6.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.153, allocations: 8.031 kB / 0.5555 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.1531, allocations: 34.69 kB / 0.5555 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.1531, allocations: 8.891 kB / 0.5555 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1534, allocations: 208.2 kB / 0.5557 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1534, allocations: 384 / 0.5557 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.1534, allocations: 384 / 0.5557 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1536, allocations: 67.33 kB / 0.5558 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1536, allocations: 4 kB / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1536, allocations: 0 / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1536, allocations: 0 / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.1537, allocations: 23.92 kB / 0.5558 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1541, allocations: 284.9 kB / 0.5561 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1543, allocations: 38.56 kB / 0.5561 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1544, allocations: 12.86 kB / 0.5561 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1544, allocations: 4 kB / 0.5561 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1544, allocations: 42.58 kB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1544, allocations: 0 / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006004/0.155, allocations: 137.4 kB / 0.5563 GB, free: 5.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1551, allocations: 81.05 kB / 0.5564 GB, free: 5.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1553, allocations: 144 kB / 0.5565 GB, free: 5.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1553, allocations: 29.7 kB / 0.5565 GB, free: 4.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.1553, allocations: 96.12 kB / 0.5566 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1554, allocations: 19.86 kB / 0.5567 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.1554, allocations: 21.7 kB / 0.5567 GB, free: 4.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1556, allocations: 318.8 kB / 0.557 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.1556, allocations: 15.98 kB / 0.557 GB, free: 4.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.1557, allocations: 33.7 kB / 0.557 GB, free: 4.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1558, allocations: 48.86 kB / 0.5571 GB, free: 4.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1558, allocations: 3.938 kB / 0.5571 GB, free: 4.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.156, allocations: 93.67 kB / 0.5572 GB, free: 4.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1561, allocations: 4 kB / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1561, allocations: 0 / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1561, allocations: 0 / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.1562, allocations: 16 kB / 0.5572 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1562, allocations: 3.984 kB / 0.5572 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.1562, allocations: 15.88 kB / 0.5572 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1562, allocations: 0 / 0.5572 GB, free: 4.281 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.61e-05/0.1563, allocations: 116 kB / 0.5573 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.1564, allocations: 7.953 kB / 0.5573 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1566, allocations: 93.89 kB / 0.5574 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1566, allocations: 0 / 0.5574 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1566, allocations: 0 / 0.5574 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1566, allocations: 7.938 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.1571, allocations: 342.6 kB / 0.5577 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1571, allocations: 0 / 0.5577 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.1572, allocations: 19.98 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1572, allocations: 0 / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1572, allocations: 3.938 kB / 0.5578 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1572, allocations: 0 / 0.5578 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1572, allocations: 0 / 0.5578 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1574, allocations: 183.4 kB / 0.5579 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1575, allocations: 85.34 kB / 0.558 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1575, allocations: 4.188 kB / 0.558 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.1576, allocations: 11.98 kB / 0.558 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.1576, allocations: 7.984 kB / 0.5581 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1576, allocations: 4 kB / 0.5581 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1577, allocations: 115.2 kB / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1577, allocations: 0 / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.158, allocations: 39.88 kB / 0.5582 GB, free: 3.152 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.002196/0.1602, allocations: 1.108 MB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1604, allocations: 51.91 kB / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1604, allocations: 0 / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1605, allocations: 27.92 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1609, allocations: 18.8 kB / 0.5594 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.1627, allocations: 1.417 MB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1631, allocations: 0.6924 MB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.1631, allocations: 15.77 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.1632, allocations: 27.42 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1632, allocations: 0 / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.1911, allocations: 3.244 MB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.302, allocations: 12.39 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_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_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.71076874434948]