Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.00143/0.00143, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001562/0.001562, allocations: 205.9 kB / 23.72 MB, free: 4.41 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2696/0.2696, allocations: 44.93 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] 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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.0032/0.0032, allocations: 59.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3443, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003367/0.3477, allocations: 1.925 MB / 0.5589 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3498, allocations: 1.135 MB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.3499, allocations: 11.94 kB / 0.56 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.3505, allocations: 199.3 kB / 0.5602 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.351, allocations: 207.3 kB / 0.5604 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.3514, allocations: 167.3 kB / 0.5606 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.3517, allocations: 267.3 kB / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3518, allocations: 20.53 kB / 0.5608 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.352, allocations: 115.5 kB / 0.561 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.3521, allocations: 115.5 kB / 0.5611 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.3522, allocations: 12 kB / 0.5611 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3523, allocations: 63.89 kB / 0.5611 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.3524, allocations: 55.83 kB / 0.5612 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.3525, allocations: 63.55 kB / 0.5612 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.3528, allocations: 256.7 kB / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.3528, allocations: 0 / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3528, allocations: 0 / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3528, allocations: 0 / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008298/0.3537, allocations: 0.4944 MB / 0.562 GB, free: 2.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3537, allocations: 8.031 kB / 0.562 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.3538, allocations: 42.62 kB / 0.562 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.3538, allocations: 24.78 kB / 0.562 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.3542, allocations: 234.6 kB / 0.5623 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3542, allocations: 8.375 kB / 0.5623 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3542, allocations: 7.938 kB / 0.5623 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3544, allocations: 95.36 kB / 0.5624 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3544, allocations: 0 / 0.5624 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3544, allocations: 11.92 kB / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3544, allocations: 0 / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3546, allocations: 43.97 kB / 0.5624 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.3551, allocations: 340.7 kB / 0.5628 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.3554, allocations: 121.2 kB / 0.5629 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3555, allocations: 41.7 kB / 0.5629 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3555, allocations: 4 kB / 0.5629 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.3558, allocations: 120.9 kB / 0.563 GB, free: 1.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3558, allocations: 0 / 0.563 GB, free: 1.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004781/0.3562, allocations: 193.8 kB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3563, allocations: 77.11 kB / 0.5633 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.3567, allocations: 368.5 kB / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3568, allocations: 29.7 kB / 0.5637 GB, free: 500 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3569, allocations: 136.1 kB / 0.5638 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3569, allocations: 35.75 kB / 0.5638 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.357, allocations: 29.7 kB / 0.5639 GB, free: 288 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3572, allocations: 342.8 kB / 0.5642 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.813e-05/0.3573, allocations: 35.97 kB / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.3574, allocations: 93.98 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3576, allocations: 103.4 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3576, allocations: 0 / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003004/0.3579, allocations: 157.4 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3579, allocations: 4 kB / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3579, allocations: 4 kB / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3579, allocations: 0 / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.358, allocations: 23.98 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.358, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.3581, allocations: 23.88 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3582, allocations: 8 kB / 0.5646 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001562/0.3583, allocations: 158 kB / 0.5648 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.3583, allocations: 27.81 kB / 0.5648 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.3587, allocations: 179.5 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3587, allocations: 3.984 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3587, allocations: 0 / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3588, allocations: 7.938 kB / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.359, allocations: 208.6 kB / 0.5652 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.359, allocations: 0 / 0.5652 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.359, allocations: 19.98 kB / 0.5652 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.359, allocations: 3.938 kB / 0.5652 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.359, allocations: 0 / 0.5652 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.359, allocations: 4 kB / 0.5652 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.359, allocations: 0 / 0.5652 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.3594, allocations: 213.6 kB / 0.5654 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.3595, allocations: 23.8 kB / 0.5654 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.3595, allocations: 7.984 kB / 0.5654 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.3596, allocations: 4 kB / 0.5654 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.3596, allocations: 19.92 kB / 0.5655 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3596, allocations: 11.98 kB / 0.5655 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.3599, allocations: 263 kB / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3599, allocations: 0 / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3602, allocations: 36 kB / 0.5658 GB, free: 14.2 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002177/0.3624, allocations: 1.072 MB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3626, allocations: 99.89 kB / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3626, allocations: 4.125 kB / 0.5669 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3628, allocations: 51.91 kB / 0.567 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.3632, allocations: 83.12 kB / 0.567 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.3662, allocations: 2.358 MB / 0.5693 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3664, allocations: 144.8 kB / 0.5695 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.3665, allocations: 33.92 kB / 0.5695 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.3666, allocations: 71.41 kB / 0.5696 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3666, allocations: 0 / 0.5696 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.4004, allocations: 6.618 MB / 0.576 GB, free: 3.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 11.5 kB / 0.576 GB, free: 3.773 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable booleanTable.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! Error: Could not read variable booleanTable.realToBoolean.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.realToBoolean.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.106242028996348]