Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001425/0.001425, allocations: 124.5 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.002/0.002, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2571/0.2571, allocations: 46.92 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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.89 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1435, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00313/0.1466, allocations: 1.62 MB / 0.557 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1476, allocations: 0.5533 MB / 0.5575 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.1477, allocations: 4 kB / 0.5575 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.148, allocations: 91.73 kB / 0.5576 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1483, allocations: 111.6 kB / 0.5577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1486, allocations: 111.7 kB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1487, allocations: 87.75 kB / 0.5579 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.1488, allocations: 11.98 kB / 0.5579 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.1489, allocations: 43.77 kB / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.149, allocations: 59.81 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.149, allocations: 4 kB / 0.558 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.1491, allocations: 43.98 kB / 0.5581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.1492, allocations: 23.92 kB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.1492, allocations: 35.73 kB / 0.5581 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1494, allocations: 115.4 kB / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1494, allocations: 4 kB / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1494, allocations: 0 / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1494, allocations: 0 / 0.5582 GB, free: 2.906 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.0005457/0.15, allocations: 426.7 kB / 0.5586 GB, free: 2.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.15, allocations: 8.031 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.1501, allocations: 30.75 kB / 0.5587 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1501, allocations: 20.78 kB / 0.5587 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1503, allocations: 200.2 kB / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-06/0.1503, allocations: 384 / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1504, allocations: 16.31 kB / 0.5589 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1505, allocations: 57.56 kB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1505, allocations: 0 / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1505, allocations: 11.94 kB / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1505, allocations: 0 / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1506, allocations: 27.97 kB / 0.559 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1511, allocations: 304.7 kB / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1512, allocations: 50.5 kB / 0.5593 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1512, allocations: 20.94 kB / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1512, allocations: 0 / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1513, allocations: 30.56 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1513, allocations: 0 / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009386/0.1522, allocations: 245.2 kB / 0.5596 GB, free: 1.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1522, allocations: 51.41 kB / 0.5597 GB, free: 1.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1525, allocations: 230.6 kB / 0.5599 GB, free: 1.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1525, allocations: 29.7 kB / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.1526, allocations: 112.1 kB / 0.56 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1526, allocations: 27.86 kB / 0.5601 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.1526, allocations: 25.72 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1528, allocations: 322.8 kB / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.1529, allocations: 35.91 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-05/0.153, allocations: 23.98 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.1531, allocations: 77.05 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1531, allocations: 4 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000239/0.1534, allocations: 121.5 kB / 0.5606 GB, free: 216 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1534, allocations: 4 kB / 0.5606 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1534, allocations: 0 / 0.5606 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1534, allocations: 0 / 0.5606 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1535, allocations: 27.86 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1535, allocations: 3.938 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1536, allocations: 7.984 kB / 0.5607 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1536, allocations: 0 / 0.5607 GB, free: 172 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.0001059/0.1537, allocations: 137.1 kB / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.1537, allocations: 11.95 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.154, allocations: 138.9 kB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1541, allocations: 0 / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1541, allocations: 4.359 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1541, allocations: 3.984 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.1546, allocations: 423.2 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1546, allocations: 0 / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.1547, allocations: 19.92 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1547, allocations: 4 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1547, allocations: 7.984 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1547, allocations: 0 / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1547, allocations: 0 / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.155, allocations: 228.2 kB / 0.5616 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1551, allocations: 88.98 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1551, allocations: 4 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.1552, allocations: 4 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1552, allocations: 3.984 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1552, allocations: 4 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1554, allocations: 183.2 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1554, allocations: 0 / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1556, allocations: 27.94 kB / 0.5619 GB, free: 14.79 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.002172/0.1578, allocations: 1.108 MB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.158, allocations: 67.95 kB / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.158, allocations: 4 kB / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1581, allocations: 43.91 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1585, allocations: 19.73 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.1605, allocations: 1.755 MB / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1609, allocations: 0.7119 MB / 0.5655 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.161, allocations: 25.03 kB / 0.5656 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.161, allocations: 43.36 kB / 0.5656 GB, free: 11.06 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.161, allocations: 0 / 0.5656 GB, free: 11.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.1862, allocations: 3.273 MB / 0.5688 GB, free: 7.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.183, allocations: 4.062 kB / 0.5688 GB, free: 7.84 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.481970781998825]