Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001338/0.001338, allocations: 115.5 kB / 17.13 MB, free: 5.891 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.001503/0.001503, allocations: 212.3 kB / 20.09 MB, free: 2.941 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.836/1.836, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.3886/0.3886, 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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.00234/0.00234, allocations: 76.28 kB / 462.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3892, allocations: 61.01 MB / 0.511 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.006323/0.3956, allocations: 1.924 MB / 0.5129 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.398, allocations: 0.8474 MB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.3982, allocations: 5.469 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.3987, allocations: 44.67 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3991, allocations: 60.19 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.3995, allocations: 104.5 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.3999, allocations: 146.6 kB / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.4001, allocations: 25.88 kB / 0.5141 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.4002, allocations: 61.75 kB / 0.5141 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.4004, allocations: 44.3 kB / 0.5142 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.4004, allocations: 7.344 kB / 0.5142 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.4005, allocations: 42.33 kB / 0.5142 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.4006, allocations: 30.98 kB / 0.5143 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.4007, allocations: 50.11 kB / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.4011, allocations: 150.8 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4011, allocations: 3.938 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4011, allocations: 0 / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.4011, allocations: 1.656 kB / 0.5145 GB, free: 10.53 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007334/0.4019, allocations: 487.5 kB / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4019, allocations: 13.48 kB / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.4019, allocations: 36.12 kB / 0.515 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.402, allocations: 17.09 kB / 0.515 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.4024, allocations: 220.8 kB / 0.5152 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4024, allocations: 7.125 kB / 0.5152 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.4025, allocations: 13.39 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.4028, allocations: 114.4 kB / 0.5153 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4028, allocations: 0 / 0.5153 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.4028, allocations: 1.375 kB / 0.5153 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4028, allocations: 1.375 kB / 0.5153 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.403, allocations: 51.41 kB / 0.5154 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.4037, allocations: 0.5101 MB / 0.5159 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.4043, allocations: 80.86 kB / 0.516 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.4044, allocations: 42.2 kB / 0.516 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4045, allocations: 0.75 kB / 0.516 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.4048, allocations: 93.77 kB / 0.5161 GB, free: 8.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.4048, allocations: 0 / 0.5161 GB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006357/0.4054, allocations: 150.7 kB / 0.5162 GB, free: 8.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4054, allocations: 52.5 kB / 0.5163 GB, free: 8.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4057, allocations: 191.2 kB / 0.5165 GB, free: 8.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4057, allocations: 26.83 kB / 0.5165 GB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.4058, allocations: 114.7 kB / 0.5166 GB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4058, allocations: 32.23 kB / 0.5166 GB, free: 8.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.4059, allocations: 31.02 kB / 0.5167 GB, free: 8.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.4059, allocations: 326.6 kB / 0.517 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4061, allocations: 27.23 kB / 0.517 GB, free: 8.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.4063, allocations: 68.89 kB / 0.5171 GB, free: 8.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.4065, allocations: 94.09 kB / 0.5172 GB, free: 7.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4065, allocations: 4 kB / 0.5172 GB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000465/0.407, allocations: 133.8 kB / 0.5173 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.407, allocations: 10.25 kB / 0.5173 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.407, allocations: 5.672 kB / 0.5173 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.4071, allocations: 5.438 kB / 0.5173 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4072, allocations: 30.2 kB / 0.5173 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4072, allocations: 1.562 kB / 0.5173 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.4074, allocations: 18.41 kB / 0.5174 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.4074, allocations: 4.125 kB / 0.5174 GB, free: 7.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001313/0.4075, allocations: 126.4 kB / 0.5175 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.4076, allocations: 13.28 kB / 0.5175 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.4076, allocations: 21.86 kB / 0.5175 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4076, allocations: 5.406 kB / 0.5175 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4076, allocations: 1.656 kB / 0.5175 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4076, allocations: 0 / 0.5175 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.4079, allocations: 205.5 kB / 0.5177 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4079, allocations: 4 kB / 0.5177 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.408, allocations: 13.58 kB / 0.5177 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.408, allocations: 1.438 kB / 0.5177 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.408, allocations: 4 kB / 0.5177 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.408, allocations: 5.312 kB / 0.5177 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.408, allocations: 0 / 0.5177 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.4086, allocations: 185.5 kB / 0.5179 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.4087, allocations: 87.77 kB / 0.518 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.4087, allocations: 1.375 kB / 0.518 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4088, allocations: 20 kB / 0.518 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.4089, allocations: 8.109 kB / 0.518 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.4089, allocations: 2.75 kB / 0.518 GB, free: 7.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.4091, allocations: 143.5 kB / 0.5182 GB, free: 7.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4091, allocations: 0 / 0.5182 GB, free: 7.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.4095, allocations: 23.25 kB / 0.5182 GB, free: 7.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002961/0.4125, allocations: 1.034 MB / 0.5192 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.4129, allocations: 80.02 kB / 0.5193 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4129, allocations: 4.062 kB / 0.5193 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.413, allocations: 31.92 kB / 0.5193 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.4135, allocations: 39.91 kB / 0.5193 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.4163, allocations: 1.739 MB / 0.521 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.4164, allocations: 0.7201 MB / 0.5218 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.4165, allocations: 13.42 kB / 0.5218 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.4166, allocations: 47.41 kB / 0.5218 GB, free: 3.371 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4166, allocations: 0 / 0.5218 GB, free: 3.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.4569, allocations: 3.784 MB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.401, allocations: 10.28 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.86501818500983]