Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.001591/0.001591, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.001833/0.001833, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3929/0.3929, allocations: 44.23 MB / 326.6 MB, free: 6.812 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003281/0.003281, allocations: 79.89 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3492, allocations: 61.01 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00274/0.3519, allocations: 1.705 MB / 0.5127 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.353, allocations: 0.8029 MB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.353, allocations: 5.188 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3533, allocations: 50.09 kB / 0.5135 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3535, allocations: 68.38 kB / 0.5136 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.3537, allocations: 86.19 kB / 0.5137 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3539, allocations: 92.95 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.354, allocations: 11.8 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.3541, allocations: 45.06 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.3541, allocations: 38.22 kB / 0.5139 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3541, allocations: 2.781 kB / 0.5139 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.3542, allocations: 44.34 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3543, allocations: 25.36 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.3543, allocations: 41.44 kB / 0.514 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.3545, allocations: 132.6 kB / 0.5141 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3545, allocations: 1.719 kB / 0.5141 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3545, allocations: 7.875 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3545, allocations: 0 / 0.5141 GB, free: 10.86 MB / 382.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.0005044/0.355, allocations: 438.5 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3551, allocations: 13.11 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.3551, allocations: 40.08 kB / 0.5146 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.3552, allocations: 14.34 kB / 0.5146 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3554, allocations: 223.4 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3554, allocations: 9.484 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.3554, allocations: 5.344 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3556, allocations: 62.98 kB / 0.5149 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3556, allocations: 0 / 0.5149 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3556, allocations: 0 / 0.5149 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3556, allocations: 1.312 kB / 0.5149 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.45e-05/0.3557, allocations: 18.42 kB / 0.5149 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.356, allocations: 295.7 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3561, allocations: 55.8 kB / 0.5152 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.3562, allocations: 20.03 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3562, allocations: 5.766 kB / 0.5152 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.3563, allocations: 68.77 kB / 0.5153 GB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3563, allocations: 0 / 0.5153 GB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000518/0.3568, allocations: 189 kB / 0.5155 GB, free: 9.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.3569, allocations: 52.78 kB / 0.5155 GB, free: 9.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3571, allocations: 269.2 kB / 0.5158 GB, free: 9.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.3571, allocations: 27.08 kB / 0.5158 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.3571, allocations: 111 kB / 0.5159 GB, free: 9.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3571, allocations: 19.98 kB / 0.5159 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.3572, allocations: 28.58 kB / 0.516 GB, free: 9.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.3572, allocations: 328.3 kB / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.3573, allocations: 19 kB / 0.5163 GB, free: 8.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.3573, allocations: 39.39 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3575, allocations: 58.52 kB / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3575, allocations: 0 / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.3576, allocations: 121.5 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3576, allocations: 5.5 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3576, allocations: 0 / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3576, allocations: 1.375 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.3577, allocations: 13.94 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3577, allocations: 0 / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.3578, allocations: 14.61 kB / 0.5166 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3578, allocations: 2.75 kB / 0.5166 GB, free: 8.574 MB / 382.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 8.075e-05/0.3579, allocations: 140.9 kB / 0.5167 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3579, allocations: 14.78 kB / 0.5167 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.3579, allocations: 20.28 kB / 0.5167 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3579, allocations: 1.375 kB / 0.5167 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3579, allocations: 5.266 kB / 0.5167 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.358, allocations: 7.875 kB / 0.5167 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.3583, allocations: 399.2 kB / 0.5171 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3583, allocations: 0.8438 kB / 0.5171 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.3583, allocations: 15.3 kB / 0.5171 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3583, allocations: 5.531 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.3584, allocations: 1.156 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3584, allocations: 1.062 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3584, allocations: 1.406 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.3586, allocations: 201.4 kB / 0.5173 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.3586, allocations: 91.89 kB / 0.5174 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3586, allocations: 18.2 kB / 0.5174 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.3587, allocations: 2.062 kB / 0.5174 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.3587, allocations: 6.953 kB / 0.5174 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.3587, allocations: 7.703 kB / 0.5175 GB, free: 7.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.3589, allocations: 196.3 kB / 0.5176 GB, free: 7.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3589, allocations: 0 / 0.5176 GB, free: 7.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3591, allocations: 20.69 kB / 0.5177 GB, free: 7.586 MB / 382.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.001917/0.3611, allocations: 1.125 MB / 0.5188 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3613, allocations: 51.41 kB / 0.5188 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3613, allocations: 1.375 kB / 0.5188 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.3613, allocations: 31.05 kB / 0.5188 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3617, allocations: 28.34 kB / 0.5189 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.3632, allocations: 1.809 MB / 0.5206 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3634, allocations: 0.7119 MB / 0.5213 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.3634, allocations: 12.88 kB / 0.5213 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.3635, allocations: 43.42 kB / 0.5214 GB, free: 3.883 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3635, allocations: 0 / 0.5214 GB, free: 3.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.3863, allocations: 3.727 MB / 0.525 GB, free: 92 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.451, allocations: 5.656 kB / 0.525 GB, free: 88 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.050005765006063]