Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001332/0.001332, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001309/0.001309, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.558/1.558, 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.2503/0.2503, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 59.91 kB / 0.491 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1421, allocations: 66 MB / 0.5555 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003786/0.1459, allocations: 1.733 MB / 0.5572 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.1485, allocations: 1.641 MB / 0.5588 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.1486, allocations: 4 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.149, allocations: 35.77 kB / 0.5588 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.1494, allocations: 103.5 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1496, allocations: 79.66 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.1498, allocations: 107.7 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1499, allocations: 8 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.15, allocations: 51.77 kB / 0.5591 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1502, allocations: 43.77 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1502, allocations: 8 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.1504, allocations: 103.9 kB / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1505, allocations: 27.86 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.1505, allocations: 35.73 kB / 0.5593 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1508, allocations: 171.4 kB / 0.5595 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1508, allocations: 4 kB / 0.5595 GB, free: 1.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1508, allocations: 0 / 0.5595 GB, free: 1.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1509, allocations: 0 / 0.5595 GB, free: 1.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006792/0.1515, allocations: 426.6 kB / 0.5599 GB, free: 1.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1516, allocations: 11.97 kB / 0.5599 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1516, allocations: 30.75 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1517, allocations: 16.84 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.152, allocations: 220.4 kB / 0.5602 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.152, allocations: 7.984 kB / 0.5602 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.152, allocations: 0 / 0.5602 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1522, allocations: 75.39 kB / 0.5603 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1522, allocations: 0 / 0.5603 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1523, allocations: 3.984 kB / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1523, allocations: 0 / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.466e-05/0.1523, allocations: 27.92 kB / 0.5603 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1527, allocations: 280.9 kB / 0.5606 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1529, allocations: 58.67 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.153, allocations: 16.86 kB / 0.5606 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.153, allocations: 4 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.1532, allocations: 75.27 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1532, allocations: 0 / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005801/0.1537, allocations: 173.4 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.1538, allocations: 85.05 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.154, allocations: 165.9 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.154, allocations: 25.7 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1541, allocations: 104.1 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1541, allocations: 31.73 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.1542, allocations: 25.72 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1543, allocations: 322.8 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.1544, allocations: 23.98 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.1544, allocations: 38.56 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1546, allocations: 61.69 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1546, allocations: 0 / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.1548, allocations: 97.62 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1548, allocations: 4 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1548, allocations: 4 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1548, allocations: 3.938 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.1549, allocations: 19.92 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1549, allocations: 3.938 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.155, allocations: 8.031 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.155, allocations: 4 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001081/0.1551, allocations: 120 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1551, allocations: 11.95 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.1551, allocations: 12.7 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1552, allocations: 7.938 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1552, allocations: 0 / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1552, allocations: 384 / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.1556, allocations: 399.3 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1556, allocations: 7.938 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1557, allocations: 15.92 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1557, allocations: 4 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1557, allocations: 4 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1557, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1557, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.156, allocations: 204.6 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.156, allocations: 93.19 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.156, allocations: 7.984 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1561, allocations: 3.938 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1562, allocations: 4 kB / 0.5627 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1562, allocations: 7.984 kB / 0.5627 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1563, allocations: 123.2 kB / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1563, allocations: 0 / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1566, allocations: 59.8 kB / 0.5629 GB, free: 13.73 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002444/0.159, allocations: 1.181 MB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1592, allocations: 59.91 kB / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1592, allocations: 0 / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.074e-05/0.1593, allocations: 27.92 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1597, allocations: 46.81 kB / 0.5642 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1616, allocations: 1.585 MB / 0.5657 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.162, allocations: 0.7012 MB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.1621, allocations: 13.19 kB / 0.5664 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.1621, allocations: 39.61 kB / 0.5665 GB, free: 10.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1621, allocations: 3.938 kB / 0.5665 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.1892, allocations: 4.045 MB / 0.5704 GB, free: 6.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.014, allocations: 3.938 kB / 0.5704 GB, free: 6.117 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.CombiTimeTable.Test55_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.369968676008284]