Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001355/0.001355, 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.001494/0.001494, 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.544/1.544, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2358/0.2358, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.002019/0.002019, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003041/0.1334, allocations: 1.597 MB / 0.5533 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1345, allocations: 0.5494 MB / 0.5539 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.1345, allocations: 0 / 0.5539 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1347, allocations: 27.84 kB / 0.5539 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.135, allocations: 75.62 kB / 0.554 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1353, allocations: 115.7 kB / 0.5541 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1355, allocations: 67.78 kB / 0.5541 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1356, allocations: 15.92 kB / 0.5542 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.1356, allocations: 19.88 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.1357, allocations: 27.84 kB / 0.5542 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1357, allocations: 4 kB / 0.5542 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.1358, allocations: 35.98 kB / 0.5542 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.1359, allocations: 11.92 kB / 0.5543 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.1359, allocations: 27.81 kB / 0.5543 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1361, allocations: 79.66 kB / 0.5544 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1361, allocations: 7.922 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1361, allocations: 0 / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1361, allocations: 4 kB / 0.5544 GB, free: 7.449 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.0005424/0.1367, allocations: 394.9 kB / 0.5547 GB, free: 7.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1367, allocations: 12.03 kB / 0.5548 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.1368, allocations: 34.75 kB / 0.5548 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.1368, allocations: 12.84 kB / 0.5548 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.137, allocations: 198.1 kB / 0.555 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.137, allocations: 8.125 kB / 0.555 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.137, allocations: 0 / 0.555 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1372, allocations: 53.69 kB / 0.5551 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1372, allocations: 7.875 kB / 0.5551 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1372, allocations: 0 / 0.5551 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1372, allocations: 3.938 kB / 0.5551 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.1373, allocations: 27.97 kB / 0.5551 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.1377, allocations: 276.9 kB / 0.5554 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.138, allocations: 54.48 kB / 0.5554 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.138, allocations: 12.86 kB / 0.5554 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.138, allocations: 0 / 0.5554 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1381, allocations: 34.64 kB / 0.5554 GB, free: 6.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1381, allocations: 4 kB / 0.5555 GB, free: 6.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006113/0.1387, allocations: 161.3 kB / 0.5556 GB, free: 6.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1387, allocations: 51.41 kB / 0.5557 GB, free: 5.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1389, allocations: 181.9 kB / 0.5558 GB, free: 5.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1389, allocations: 29.7 kB / 0.5559 GB, free: 5.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.139, allocations: 96.12 kB / 0.5559 GB, free: 5.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.139, allocations: 15.84 kB / 0.556 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1391, allocations: 17.72 kB / 0.556 GB, free: 5.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1392, allocations: 326.8 kB / 0.5563 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.1393, allocations: 19.98 kB / 0.5563 GB, free: 5.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.1394, allocations: 23.97 kB / 0.5563 GB, free: 5.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1395, allocations: 48.83 kB / 0.5564 GB, free: 5.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1395, allocations: 0 / 0.5564 GB, free: 5.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002129/0.1397, allocations: 89.52 kB / 0.5565 GB, free: 5.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1397, allocations: 12 kB / 0.5565 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1397, allocations: 0 / 0.5565 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1398, allocations: 3.984 kB / 0.5565 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.1398, allocations: 8.25 kB / 0.5565 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1398, allocations: 7.938 kB / 0.5565 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.1399, allocations: 11.98 kB / 0.5565 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.1399, allocations: 4 kB / 0.5565 GB, free: 5.016 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.0001015/0.14, allocations: 116 kB / 0.5566 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.14, allocations: 11.95 kB / 0.5566 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1403, allocations: 105.9 kB / 0.5567 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1403, allocations: 4 kB / 0.5567 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1403, allocations: 3.938 kB / 0.5567 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1403, allocations: 0 / 0.5567 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.1408, allocations: 354.5 kB / 0.5571 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1408, allocations: 3.938 kB / 0.5571 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1409, allocations: 15.94 kB / 0.5571 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1409, allocations: 3.938 kB / 0.5571 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1409, allocations: 288 / 0.5571 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1409, allocations: 4 kB / 0.5571 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1409, allocations: 7.922 kB / 0.5571 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1411, allocations: 179.5 kB / 0.5573 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.1412, allocations: 92.98 kB / 0.5574 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1412, allocations: 7.938 kB / 0.5574 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.1413, allocations: 4 kB / 0.5574 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1413, allocations: 7.984 kB / 0.5574 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1413, allocations: 4 kB / 0.5574 GB, free: 4.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1414, allocations: 134.3 kB / 0.5575 GB, free: 3.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1414, allocations: 0 / 0.5575 GB, free: 3.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1417, allocations: 12 kB / 0.5575 GB, free: 3.863 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.002009/0.1437, allocations: 1.031 MB / 0.5585 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1439, allocations: 47.95 kB / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1439, allocations: 0 / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.144, allocations: 35.86 kB / 0.5586 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1444, allocations: 23.58 kB / 0.5586 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1463, allocations: 1.513 MB / 0.5601 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1467, allocations: 0.6963 MB / 0.5608 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.1468, allocations: 23.92 kB / 0.5608 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.1468, allocations: 27.42 kB / 0.5609 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1468, allocations: 0 / 0.5609 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.1706, allocations: 2.704 MB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.113, allocations: 4 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.CombiTable1Dv.Test11_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.384635269176215]