Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001747/0.001747, 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.002096/0.002096, allocations: 208.3 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.52/1.52, 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.2374/0.2374, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.91 kB / 0.491 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1449, allocations: 65.99 MB / 0.5555 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003508/0.1484, allocations: 1.754 MB / 0.5572 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1502, allocations: 1.037 MB / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.1503, allocations: 0 / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1506, allocations: 91.62 kB / 0.5583 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.1509, allocations: 115.6 kB / 0.5584 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1512, allocations: 83.66 kB / 0.5585 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1514, allocations: 119.7 kB / 0.5586 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1515, allocations: 15.97 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1516, allocations: 55.72 kB / 0.5587 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1518, allocations: 67.73 kB / 0.5587 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1518, allocations: 4 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.152, allocations: 63.97 kB / 0.5588 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.152, allocations: 23.92 kB / 0.5588 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.1521, allocations: 43.67 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1524, allocations: 143.3 kB / 0.559 GB, free: 2.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1524, allocations: 4 kB / 0.559 GB, free: 2.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1524, allocations: 0 / 0.559 GB, free: 2.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1524, allocations: 0 / 0.559 GB, free: 2.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000719/0.1531, allocations: 438.5 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1531, allocations: 12.03 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1532, allocations: 30.75 kB / 0.5594 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1532, allocations: 16.84 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.1536, allocations: 220.1 kB / 0.5597 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1536, allocations: 384 / 0.5597 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1536, allocations: 7.938 kB / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1538, allocations: 65.59 kB / 0.5597 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1538, allocations: 7.984 kB / 0.5597 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1539, allocations: 4 kB / 0.5598 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1539, allocations: 0 / 0.5598 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.1539, allocations: 19.98 kB / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1544, allocations: 308.7 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.1547, allocations: 62.48 kB / 0.5601 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.1547, allocations: 20.97 kB / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1547, allocations: 0 / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.1549, allocations: 71.39 kB / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1549, allocations: 0 / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008988/0.1558, allocations: 241.3 kB / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1559, allocations: 63.28 kB / 0.5605 GB, free: 420 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1561, allocations: 227.3 kB / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1561, allocations: 25.7 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1562, allocations: 112.1 kB / 0.5609 GB, free: 28 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.1563, allocations: 31.83 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.1563, allocations: 29.7 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1565, allocations: 322.8 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.1565, allocations: 31.98 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.1566, allocations: 45.7 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.1568, allocations: 77.75 kB / 0.5614 GB, free: 15.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1568, allocations: 4 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002296/0.157, allocations: 133.5 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.157, allocations: 4 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.157, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.157, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.1571, allocations: 31.86 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1571, allocations: 0 / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1572, allocations: 8 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.1572, allocations: 0 / 0.5615 GB, free: 15.29 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 (13): * Single equations (assignments): 13 * 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.0001115/0.1573, allocations: 136 kB / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1573, allocations: 15.91 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.1574, allocations: 25.39 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1574, allocations: 3.938 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1574, allocations: 0 / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1574, allocations: 0 / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.158, allocations: 459.9 kB / 0.5622 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.158, allocations: 3.938 kB / 0.5622 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.158, allocations: 16 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.158, allocations: 0 / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.158, allocations: 8 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.158, allocations: 4.641 kB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.158, allocations: 4 kB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1583, allocations: 233.1 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1584, allocations: 89.02 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1584, allocations: 4 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.1585, allocations: 8.078 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.1585, allocations: 7.938 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1585, allocations: 7.984 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1587, allocations: 169.1 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1587, allocations: 0 / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.159, allocations: 31.94 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002473/0.1615, allocations: 1.184 MB / 0.5639 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.1617, allocations: 75.91 kB / 0.5639 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1617, allocations: 4 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.1618, allocations: 31.94 kB / 0.564 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1622, allocations: 35.72 kB / 0.564 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.1645, allocations: 1.824 MB / 0.5658 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1648, allocations: 0.7196 MB / 0.5665 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.1649, allocations: 20.62 kB / 0.5665 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.165, allocations: 43.42 kB / 0.5666 GB, free: 10.1 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.165, allocations: 3.938 kB / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.1915, allocations: 3.929 MB / 0.5704 GB, free: 6.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.961, allocations: 8.812 kB / 0.5704 GB, free: 6.211 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.283459231999586]