Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.00181/0.00181, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002249/0.002249, allocations: 210.5 kB / 23.74 MB, free: 4.66 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2318/0.2318, allocations: 46.94 MB / 360.9 MB, free: 4.266 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 63.91 kB / 0.4962 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3303, allocations: 66.04 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003203/0.3335, allocations: 1.788 MB / 0.5625 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3353, allocations: 1.057 MB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.3354, allocations: 0 / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.3357, allocations: 107.7 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.336, allocations: 131.5 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3362, allocations: 83.66 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3365, allocations: 139.7 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3366, allocations: 15.41 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3367, allocations: 67.69 kB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3368, allocations: 75.73 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3368, allocations: 8 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.337, allocations: 59.98 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.337, allocations: 47.83 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.3371, allocations: 39.69 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3374, allocations: 175.2 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3374, allocations: 4 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3374, allocations: 0 / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3374, allocations: 0 / 0.5644 GB, free: 0.6289 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.0005699/0.3379, allocations: 389.2 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.338, allocations: 12.03 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.338, allocations: 30.75 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.3381, allocations: 16.84 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.3384, allocations: 175.3 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3384, allocations: 8.375 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3384, allocations: 7.938 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3386, allocations: 69.66 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3386, allocations: 3.953 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3386, allocations: 7.984 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3386, allocations: 4 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3387, allocations: 35.92 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.3392, allocations: 299.8 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.3394, allocations: 70.55 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.3395, allocations: 20.84 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3395, allocations: 4 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.3397, allocations: 87.25 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3397, allocations: 0 / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008523/0.3406, allocations: 301.2 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3406, allocations: 59.34 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.3409, allocations: 259.7 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3409, allocations: 25.7 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/0.341, allocations: 120.1 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.3411, allocations: 51.64 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3411, allocations: 33.66 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3413, allocations: 330.8 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.3414, allocations: 39.98 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.3415, allocations: 53.7 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.3416, allocations: 97.7 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3416, allocations: 8 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002747/0.3419, allocations: 161.5 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3419, allocations: 4 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3419, allocations: 0 / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3419, allocations: 7.922 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.342, allocations: 27.94 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.342, allocations: 0.8438 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.3421, allocations: 11.98 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3421, allocations: 4 kB / 0.5671 GB, free: 13.63 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 (16): * Single equations (assignments): 16 * 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.0001652/0.3423, allocations: 144.7 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3423, allocations: 19.86 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.3427, allocations: 198.7 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3427, allocations: 0 / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3427, allocations: 112 / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3427, allocations: 3.938 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/0.3433, allocations: 483 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3433, allocations: 4 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.3434, allocations: 23.92 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3434, allocations: 0 / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3434, allocations: 4 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3434, allocations: 0 / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3434, allocations: 0 / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.3437, allocations: 261.1 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.3438, allocations: 11.91 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.3438, allocations: 11.94 kB / 0.5682 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3439, allocations: 7.984 kB / 0.5682 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.344, allocations: 11.98 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.344, allocations: 4 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.3442, allocations: 193.5 kB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 4 kB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3445, allocations: 43.81 kB / 0.5685 GB, free: 12.14 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 (14): * Single equations (assignments): 12 * 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.002481/0.3469, allocations: 1.204 MB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3472, allocations: 95.84 kB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3472, allocations: 0 / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3473, allocations: 47.92 kB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3477, allocations: 41 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.3502, allocations: 1.994 MB / 0.5718 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3505, allocations: 0.724 MB / 0.5725 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.345e-05/0.3506, allocations: 29.41 kB / 0.5725 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.3507, allocations: 55.41 kB / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3507, allocations: 0 / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.3857, allocations: 4.56 MB / 0.577 GB, free: 3.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.57, allocations: 0 / 0.577 GB, free: 3.543 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_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_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.710765569994692]