Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001892/0.001892, allocations: 113.4 kB / 17.12 MB, free: 5.953 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.002435/0.002435, allocations: 204 kB / 20.09 MB, free: 3 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.761/1.761, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.4634/0.4634, allocations: 44.23 MB / 326.6 MB, free: 6.82 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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.002396/0.002396, allocations: 71.89 kB / 462.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4023, allocations: 61.01 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002885/0.4052, allocations: 1.667 MB / 0.5127 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.4063, allocations: 0.79 MB / 0.5134 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.4063, allocations: 1.562 kB / 0.5134 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.4067, allocations: 62.14 kB / 0.5135 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.4069, allocations: 71.7 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4071, allocations: 84.3 kB / 0.5136 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.4073, allocations: 104.2 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.4074, allocations: 7.766 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.4075, allocations: 47.36 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.4076, allocations: 49.34 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.4076, allocations: 2.094 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.4077, allocations: 32.52 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.4077, allocations: 18.33 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.4078, allocations: 31.06 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.408, allocations: 101.9 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.408, allocations: 4 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.408, allocations: 0 / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.408, allocations: 0 / 0.514 GB, free: 10.88 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.0005495/0.4086, allocations: 406.1 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4086, allocations: 12.7 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.4087, allocations: 36.27 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.4087, allocations: 13.41 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.409, allocations: 214.3 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.409, allocations: 1.625 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.409, allocations: 9.25 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.4092, allocations: 51.23 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4092, allocations: 0 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4092, allocations: 1.375 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4092, allocations: 0 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.4093, allocations: 16.05 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.4095, allocations: 178.4 kB / 0.5149 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.4097, allocations: 53.69 kB / 0.515 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.4097, allocations: 24.31 kB / 0.515 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.4098, allocations: 1.656 kB / 0.515 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.4099, allocations: 63.08 kB / 0.515 GB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4099, allocations: 1.094 kB / 0.515 GB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.4102, allocations: 90.94 kB / 0.5151 GB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.4103, allocations: 60.12 kB / 0.5152 GB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.4105, allocations: 189.4 kB / 0.5154 GB, free: 9.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4105, allocations: 30.83 kB / 0.5154 GB, free: 9.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.4106, allocations: 101.6 kB / 0.5155 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.4106, allocations: 5.234 kB / 0.5155 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.4106, allocations: 19.41 kB / 0.5155 GB, free: 9.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.4107, allocations: 325.6 kB / 0.5158 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.4108, allocations: 20.02 kB / 0.5159 GB, free: 9.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.4108, allocations: 23.19 kB / 0.5159 GB, free: 8.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.4109, allocations: 56.14 kB / 0.5159 GB, free: 8.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.411, allocations: 3.938 kB / 0.5159 GB, free: 8.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.4111, allocations: 83.25 kB / 0.516 GB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4111, allocations: 9.641 kB / 0.516 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4111, allocations: 4.031 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4112, allocations: 1.312 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.4112, allocations: 9.375 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4112, allocations: 1.594 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.4113, allocations: 2.156 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4113, allocations: 4.969 kB / 0.516 GB, free: 8.879 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 9.439e-05/0.4114, allocations: 131.3 kB / 0.5162 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.4114, allocations: 8.109 kB / 0.5162 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.4115, allocations: 16.02 kB / 0.5162 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4115, allocations: 5.75 kB / 0.5162 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4115, allocations: 0 / 0.5162 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4115, allocations: 0 / 0.5162 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.4116, allocations: 185.2 kB / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4116, allocations: 0 / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.4116, allocations: 3.562 kB / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4116, allocations: 0 / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4116, allocations: 5.562 kB / 0.5164 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4116, allocations: 0 / 0.5164 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4116, allocations: 5.578 kB / 0.5164 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.4118, allocations: 112.1 kB / 0.5165 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.4118, allocations: 92.64 kB / 0.5166 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4119, allocations: 8.125 kB / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.4119, allocations: 2.25 kB / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.4119, allocations: 2.562 kB / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.412, allocations: 5.516 kB / 0.5166 GB, free: 8.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.4121, allocations: 141.2 kB / 0.5167 GB, free: 8.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4121, allocations: 0 / 0.5167 GB, free: 8.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.4123, allocations: 20.81 kB / 0.5168 GB, free: 8.18 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.001992/0.4143, allocations: 0.957 MB / 0.5177 GB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4145, allocations: 47.28 kB / 0.5177 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4145, allocations: 4.062 kB / 0.5177 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.588e-05/0.4146, allocations: 15 kB / 0.5178 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4148, allocations: 28.34 kB / 0.5178 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4163, allocations: 1.477 MB / 0.5192 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.4164, allocations: 0.702 MB / 0.5199 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.4165, allocations: 20.78 kB / 0.5199 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.4165, allocations: 24.94 kB / 0.5199 GB, free: 5.215 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4165, allocations: 0 / 0.5199 GB, free: 5.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.4449, allocations: 3.092 MB / 0.523 GB, free: 2.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.393, allocations: 4.062 kB / 0.523 GB, free: 2.203 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.90339182500611]