Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001586/0.001586, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002043/0.002043, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 46.91 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.91 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1305, allocations: 65.99 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.00315/0.1336, allocations: 1.626 MB / 0.557 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1346, allocations: 0.5455 MB / 0.5575 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.1347, allocations: 0 / 0.5575 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.135, allocations: 79.7 kB / 0.5576 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1352, allocations: 103.6 kB / 0.5577 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1355, allocations: 87.75 kB / 0.5578 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1357, allocations: 91.73 kB / 0.5579 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.1358, allocations: 8 kB / 0.5579 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.547e-05/0.1358, allocations: 47.83 kB / 0.5579 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1359, allocations: 55.77 kB / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.136, allocations: 4 kB / 0.558 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.136, allocations: 47.97 kB / 0.558 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.1361, allocations: 19.92 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1361, allocations: 31.73 kB / 0.5581 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1363, allocations: 103.6 kB / 0.5582 GB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1363, allocations: 4 kB / 0.5582 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1363, allocations: 0 / 0.5582 GB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1364, allocations: 0 / 0.5582 GB, free: 2.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000565/0.1369, allocations: 422.6 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.137, allocations: 12.03 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.137, allocations: 30.75 kB / 0.5586 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.137, allocations: 12.84 kB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1373, allocations: 211.1 kB / 0.5588 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1373, allocations: 4.375 kB / 0.5588 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1373, allocations: 8.375 kB / 0.5588 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1375, allocations: 53.61 kB / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1375, allocations: 4 kB / 0.5589 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1375, allocations: 4 kB / 0.5589 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1375, allocations: 0 / 0.5589 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1376, allocations: 27.92 kB / 0.5589 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.138, allocations: 296.8 kB / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1382, allocations: 46.56 kB / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1382, allocations: 16.8 kB / 0.5593 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1382, allocations: 0 / 0.5593 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1383, allocations: 34.64 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1383, allocations: 0 / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009528/0.1392, allocations: 225.3 kB / 0.5595 GB, free: 1.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1393, allocations: 51.41 kB / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1395, allocations: 222.2 kB / 0.5598 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1395, allocations: 25.7 kB / 0.5598 GB, free: 1.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.1396, allocations: 112.1 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1396, allocations: 35.61 kB / 0.5599 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1397, allocations: 25.72 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1398, allocations: 322.8 kB / 0.5603 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.1399, allocations: 19.98 kB / 0.5603 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.14, allocations: 31.98 kB / 0.5603 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1402, allocations: 68.83 kB / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1402, allocations: 4 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002115/0.1404, allocations: 93.61 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1404, allocations: 8 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1404, allocations: 0 / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1404, allocations: 0 / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.1405, allocations: 15.98 kB / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1405, allocations: 3.938 kB / 0.5605 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.1405, allocations: 8 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1406, allocations: 12.3 kB / 0.5605 GB, free: 336 kB / 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 (8): * Single equations (assignments): 8 * 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.0001037/0.1407, allocations: 124 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1407, allocations: 15.91 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.141, allocations: 119 kB / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.141, allocations: 0 / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.141, allocations: 3.938 kB / 0.5608 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.141, allocations: 4 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.1415, allocations: 403.3 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1416, allocations: 7.984 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.1416, allocations: 19.88 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1416, allocations: 0 / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1416, allocations: 11.98 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1416, allocations: 0 / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1416, allocations: 0 / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1419, allocations: 204.3 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.142, allocations: 92.95 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.142, allocations: 0 / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1421, allocations: 8 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1421, allocations: 7.984 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1421, allocations: 8 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.1423, allocations: 164.2 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1423, allocations: 3.938 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1425, allocations: 23.94 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.002286/0.1448, allocations: 1.095 MB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1451, allocations: 59.91 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1451, allocations: 4 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.1452, allocations: 36.08 kB / 0.5629 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1455, allocations: 20.12 kB / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1476, allocations: 1.68 MB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1479, allocations: 0.708 MB / 0.5652 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.148, allocations: 8.672 kB / 0.5652 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.1481, allocations: 31.42 kB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1481, allocations: 0 / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.1733, allocations: 3.126 MB / 0.5683 GB, free: 8.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.098, allocations: 14.98 kB / 0.5683 GB, free: 8.328 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.450694261002354]