Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001269/0.001269, allocations: 115.8 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.001357/0.001357, 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.766/1.766, allocations: 207.6 MB / 230.5 MB, free: 4.051 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.4276/0.4276, allocations: 44.22 MB / 326.6 MB, free: 6.789 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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.002219/0.002219, allocations: 71.91 kB / 462.3 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3909, allocations: 61 MB / 0.511 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002791/0.3937, allocations: 1.67 MB / 0.5126 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3948, allocations: 0.7942 MB / 0.5134 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.3949, allocations: 1.062 kB / 0.5134 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.3952, allocations: 62.73 kB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.3954, allocations: 72.02 kB / 0.5136 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.3957, allocations: 83.86 kB / 0.5136 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3958, allocations: 99.95 kB / 0.5137 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.3959, allocations: 11.55 kB / 0.5137 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.396, allocations: 46.91 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3961, allocations: 53.81 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3961, allocations: 2.25 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.3962, allocations: 28.3 kB / 0.5139 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.3963, allocations: 17.52 kB / 0.5139 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.3963, allocations: 32.17 kB / 0.5139 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3965, allocations: 100.6 kB / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3965, allocations: 1.125 kB / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3965, allocations: 0 / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3965, allocations: 4 kB / 0.514 GB, free: 11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005113/0.397, allocations: 405.7 kB / 0.5144 GB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3971, allocations: 14.02 kB / 0.5144 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.3971, allocations: 34.75 kB / 0.5144 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3971, allocations: 18.41 kB / 0.5145 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.3974, allocations: 210.6 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3974, allocations: 384 / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3974, allocations: 7 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3976, allocations: 55.27 kB / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3976, allocations: 0 / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3976, allocations: 0 / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3976, allocations: 2.156 kB / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.403e-05/0.3977, allocations: 19.42 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.3978, allocations: 173.4 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3979, allocations: 54.03 kB / 0.515 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.398, allocations: 23.72 kB / 0.515 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.398, allocations: 1.469 kB / 0.515 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.3981, allocations: 64.27 kB / 0.515 GB, free: 9.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3981, allocations: 0 / 0.515 GB, free: 9.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002558/0.3984, allocations: 91 kB / 0.5151 GB, free: 9.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3984, allocations: 52.78 kB / 0.5152 GB, free: 9.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3986, allocations: 198 kB / 0.5154 GB, free: 9.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.3986, allocations: 25.7 kB / 0.5154 GB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.3986, allocations: 101.5 kB / 0.5155 GB, free: 9.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.3987, allocations: 10.7 kB / 0.5155 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.3987, allocations: 17.81 kB / 0.5155 GB, free: 9.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.3988, allocations: 322.9 kB / 0.5158 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.3988, allocations: 14.86 kB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-05/0.3989, allocations: 31.28 kB / 0.5159 GB, free: 9.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.569e-05/0.3989, allocations: 47.52 kB / 0.5159 GB, free: 9.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.399, allocations: 5.312 kB / 0.5159 GB, free: 9.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001456/0.3991, allocations: 90.72 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3991, allocations: 6.125 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3991, allocations: 3.984 kB / 0.516 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3991, allocations: 1.375 kB / 0.516 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.3992, allocations: 13.66 kB / 0.516 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3992, allocations: 0 / 0.516 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.3992, allocations: 2.75 kB / 0.516 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3993, allocations: 2.906 kB / 0.516 GB, free: 8.996 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 (7): * Single equations (assignments): 7 * 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 7.431e-05/0.3993, allocations: 126 kB / 0.5162 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.3993, allocations: 8.078 kB / 0.5162 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3994, allocations: 16.42 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3994, allocations: 1.375 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3994, allocations: 0 / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3994, allocations: 5.375 kB / 0.5162 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.3995, allocations: 191.3 kB / 0.5164 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3995, allocations: 5.312 kB / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.3995, allocations: 6.688 kB / 0.5164 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3995, allocations: 5.359 kB / 0.5164 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.3995, allocations: 0 / 0.5164 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3995, allocations: 5.359 kB / 0.5164 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3995, allocations: 0 / 0.5164 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.3997, allocations: 114 kB / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.3997, allocations: 90.36 kB / 0.5166 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3998, allocations: 1.375 kB / 0.5166 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.3998, allocations: 1.375 kB / 0.5166 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.3998, allocations: 2.75 kB / 0.5166 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3998, allocations: 6.75 kB / 0.5166 GB, free: 8.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.4, allocations: 145.2 kB / 0.5167 GB, free: 8.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4, allocations: 0 / 0.5167 GB, free: 8.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000204/0.4002, allocations: 12.38 kB / 0.5167 GB, free: 8.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001724/0.4019, allocations: 0.9576 MB / 0.5177 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.4021, allocations: 47.28 kB / 0.5177 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4021, allocations: 0 / 0.5177 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.4021, allocations: 15 kB / 0.5177 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.4024, allocations: 36.34 kB / 0.5178 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.4037, allocations: 1.481 MB / 0.5192 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.4039, allocations: 0.699 MB / 0.5199 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.4039, allocations: 11.89 kB / 0.5199 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.404, allocations: 28.81 kB / 0.5199 GB, free: 5.332 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.404, allocations: 0 / 0.5199 GB, free: 5.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.4285, allocations: 3.093 MB / 0.523 GB, free: 2.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.386, allocations: 0 / 0.523 GB, free: 2.215 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.877212641993538]