Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001698/0.001698, 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.001884/0.001884, 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.538/1.538, 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.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.2386/0.2386, 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.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 75.89 kB / 0.491 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1437, allocations: 65.98 MB / 0.5555 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003638/0.1473, allocations: 1.737 MB / 0.5572 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1499, allocations: 1.648 MB / 0.5588 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.1499, allocations: 0 / 0.5588 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1502, allocations: 35.77 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1505, allocations: 107.5 kB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1507, allocations: 75.67 kB / 0.559 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1509, allocations: 103.7 kB / 0.5591 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.151, allocations: 15.98 kB / 0.5591 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.1511, allocations: 47.78 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1513, allocations: 47.78 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1513, allocations: 4 kB / 0.5592 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.1515, allocations: 111.9 kB / 0.5593 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.1515, allocations: 23.91 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.1516, allocations: 35.73 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1519, allocations: 171.4 kB / 0.5595 GB, free: 1.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1519, allocations: 0 / 0.5595 GB, free: 1.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1519, allocations: 0 / 0.5595 GB, free: 1.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1519, allocations: 0 / 0.5595 GB, free: 1.598 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.0006453/0.1525, allocations: 430.6 kB / 0.5599 GB, free: 1.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1526, allocations: 8.031 kB / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.1526, allocations: 42.73 kB / 0.56 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.1527, allocations: 16.78 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.153, allocations: 216.5 kB / 0.5602 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.153, allocations: 0 / 0.5602 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.153, allocations: 0 / 0.5602 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1532, allocations: 67.39 kB / 0.5603 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1532, allocations: 4 kB / 0.5603 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1532, allocations: 0 / 0.5603 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1532, allocations: 4 kB / 0.5603 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.243e-05/0.1533, allocations: 19.92 kB / 0.5603 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1537, allocations: 288.9 kB / 0.5606 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1539, allocations: 50.69 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1539, allocations: 24.84 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1539, allocations: 0 / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.1541, allocations: 75.33 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1541, allocations: 0 / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.1546, allocations: 181.6 kB / 0.5609 GB, free: 12 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.1547, allocations: 81.05 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1549, allocations: 165.5 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1549, allocations: 33.7 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.155, allocations: 96.12 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.155, allocations: 27.73 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1551, allocations: 25.7 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1552, allocations: 326.8 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.1553, allocations: 16 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.1553, allocations: 42.56 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1555, allocations: 69.7 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1555, allocations: 0 / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.1556, allocations: 97.69 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1557, allocations: 8 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1557, allocations: 3.938 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1557, allocations: 3.938 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.698e-05/0.1558, allocations: 24 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1558, allocations: 4 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.1558, allocations: 3.984 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1558, allocations: 4 kB / 0.5619 GB, free: 14.93 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.0001039/0.1559, allocations: 116 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.156, allocations: 15.95 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.156, allocations: 16.7 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.156, allocations: 3.938 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.156, allocations: 4 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.156, allocations: 0 / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.1565, allocations: 395.3 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1565, allocations: 7.938 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.1565, allocations: 15.92 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1565, allocations: 0 / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1565, allocations: 3.984 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1565, allocations: 0 / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1565, allocations: 4 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1568, allocations: 200.4 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.1568, allocations: 85 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1569, allocations: 4 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.1569, allocations: 8.172 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.157, allocations: 4 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.157, allocations: 7.938 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1571, allocations: 127.2 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1571, allocations: 3.938 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1574, allocations: 47.86 kB / 0.5629 GB, free: 13.77 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.002424/0.1598, allocations: 1.189 MB / 0.564 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.16, allocations: 51.92 kB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.16, allocations: 0 / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.1601, allocations: 31.92 kB / 0.5641 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1605, allocations: 34.56 kB / 0.5642 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1623, allocations: 1.588 MB / 0.5657 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1626, allocations: 0.6973 MB / 0.5664 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.1627, allocations: 21.17 kB / 0.5664 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.1627, allocations: 43.41 kB / 0.5664 GB, free: 10.19 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1627, allocations: 192 / 0.5664 GB, free: 10.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.1913, allocations: 4.058 MB / 0.5704 GB, free: 6.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.016, allocations: 3.938 kB / 0.5704 GB, free: 6.145 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_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_Test56.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.393223481005407]