Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001266/0.001266, allocations: 123 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.001397/0.001397, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.564/1.564, 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.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.267/0.267, allocations: 44.9 MB / 355.1 MB, free: 12.35 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.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.001928/0.001928, allocations: 71.91 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1511, allocations: 65.42 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003373/0.1544, allocations: 1.768 MB / 0.5536 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1563, allocations: 1.029 MB / 0.5546 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.1563, allocations: 7.938 kB / 0.5546 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.1567, allocations: 83.69 kB / 0.5547 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.157, allocations: 119.5 kB / 0.5548 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1572, allocations: 79.72 kB / 0.5549 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1574, allocations: 123.6 kB / 0.555 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1575, allocations: 16.25 kB / 0.555 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1577, allocations: 59.77 kB / 0.555 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1578, allocations: 59.75 kB / 0.5551 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1578, allocations: 4 kB / 0.5551 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1579, allocations: 67.91 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.158, allocations: 19.92 kB / 0.5552 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.158, allocations: 43.69 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1583, allocations: 147.4 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1583, allocations: 0 / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1583, allocations: 0 / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1583, allocations: 3.938 kB / 0.5554 GB, free: 6.418 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.0006297/0.1589, allocations: 434.5 kB / 0.5558 GB, free: 5.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1589, allocations: 12.03 kB / 0.5558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.159, allocations: 34.75 kB / 0.5558 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.159, allocations: 16.84 kB / 0.5558 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1593, allocations: 220.1 kB / 0.5561 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1593, allocations: 4.359 kB / 0.5561 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1594, allocations: 7.938 kB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1595, allocations: 57.67 kB / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1596, allocations: 0 / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1596, allocations: 0 / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1596, allocations: 0 / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.1597, allocations: 31.92 kB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1601, allocations: 308.7 kB / 0.5564 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.1603, allocations: 54.55 kB / 0.5565 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.1604, allocations: 20.97 kB / 0.5565 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1604, allocations: 0 / 0.5565 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1606, allocations: 75.39 kB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1606, allocations: 4 kB / 0.5566 GB, free: 4.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007878/0.1614, allocations: 245.2 kB / 0.5568 GB, free: 4.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1614, allocations: 59.34 kB / 0.5569 GB, free: 4.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1616, allocations: 227.3 kB / 0.5571 GB, free: 4.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1617, allocations: 25.7 kB / 0.5571 GB, free: 4.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.1617, allocations: 112.1 kB / 0.5572 GB, free: 4.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1618, allocations: 27.75 kB / 0.5573 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1618, allocations: 33.7 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.162, allocations: 322.8 kB / 0.5576 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.162, allocations: 35.92 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.523e-05/0.1621, allocations: 49.2 kB / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1623, allocations: 81.64 kB / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1623, allocations: 0 / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002319/0.1625, allocations: 133.5 kB / 0.5579 GB, free: 3.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1625, allocations: 4 kB / 0.5579 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1625, allocations: 0 / 0.5579 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1626, allocations: 4 kB / 0.5579 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1627, allocations: 23.92 kB / 0.5579 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1627, allocations: 0 / 0.5579 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.1627, allocations: 8 kB / 0.5579 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1627, allocations: 4 kB / 0.5579 GB, free: 3.547 MB / 414.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.000125/0.1629, allocations: 141.5 kB / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1629, allocations: 11.91 kB / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.1629, allocations: 22.11 kB / 0.5581 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1629, allocations: 3.938 kB / 0.5581 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1629, allocations: 3.984 kB / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1629, allocations: 0 / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.1635, allocations: 452 kB / 0.5585 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1635, allocations: 8.047 kB / 0.5585 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.1636, allocations: 12 kB / 0.5586 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1636, allocations: 4 kB / 0.5586 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1636, allocations: 4 kB / 0.5586 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1636, allocations: 0 / 0.5586 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.1636, allocations: 4 kB / 0.5586 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1639, allocations: 241 kB / 0.5588 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.1639, allocations: 89.02 kB / 0.5589 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.164, allocations: 4 kB / 0.5589 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.164, allocations: 7.984 kB / 0.5589 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1641, allocations: 4 kB / 0.5589 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1641, allocations: 11.98 kB / 0.5589 GB, free: 2.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1643, allocations: 165.2 kB / 0.5591 GB, free: 2.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1643, allocations: 0 / 0.5591 GB, free: 2.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1645, allocations: 27.94 kB / 0.5591 GB, free: 2.242 MB / 414.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.002456/0.167, allocations: 1.187 MB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1672, allocations: 87.78 kB / 0.5603 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1672, allocations: 0 / 0.5603 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.1673, allocations: 35.92 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1677, allocations: 33.03 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.1699, allocations: 1.825 MB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1702, allocations: 0.7158 MB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.1703, allocations: 24.62 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.1704, allocations: 39.42 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1704, allocations: 0 / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.1959, allocations: 3.918 MB / 0.5668 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.233, allocations: 9.969 kB / 0.5668 GB, free: 10.49 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.623079928569496]