Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.001713/0.001713, allocations: 114.4 kB / 17.12 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.002052/0.002052, allocations: 211.2 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.818/1.818, 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.3891/0.3891, allocations: 44.22 MB / 326.6 MB, free: 6.801 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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.002195/0.002195, allocations: 72.38 kB / 462.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3872, allocations: 61.01 MB / 0.511 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003781/0.391, allocations: 1.712 MB / 0.5127 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3928, allocations: 0.8099 MB / 0.5135 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3929, allocations: 5.031 kB / 0.5135 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.3934, allocations: 43.61 kB / 0.5135 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.3937, allocations: 58.75 kB / 0.5136 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.394, allocations: 92.47 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3942, allocations: 85.89 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3943, allocations: 16.39 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3944, allocations: 45.09 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.3945, allocations: 34.11 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.3945, allocations: 3.156 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3947, allocations: 43.25 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3947, allocations: 18.89 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.3948, allocations: 34.92 kB / 0.5139 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.395, allocations: 121.7 kB / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.395, allocations: 0 / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.395, allocations: 4 kB / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3951, allocations: 0 / 0.5141 GB, free: 10.79 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.0006563/0.3957, allocations: 420.5 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3958, allocations: 13.05 kB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.3958, allocations: 32.34 kB / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3958, allocations: 10.14 kB / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.3962, allocations: 211.8 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3962, allocations: 5.688 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.3962, allocations: 10.59 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3964, allocations: 53.39 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3964, allocations: 1.719 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3964, allocations: 0 / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3965, allocations: 5.406 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.3965, allocations: 21.83 kB / 0.5148 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.397, allocations: 287 kB / 0.5151 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3972, allocations: 59.36 kB / 0.5151 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.3973, allocations: 17.14 kB / 0.5152 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.3973, allocations: 1.062 kB / 0.5152 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.3975, allocations: 73.31 kB / 0.5152 GB, free: 9.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3975, allocations: 0 / 0.5152 GB, free: 9.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007691/0.3983, allocations: 177.5 kB / 0.5154 GB, free: 9.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3984, allocations: 52.62 kB / 0.5155 GB, free: 9.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.3986, allocations: 199.3 kB / 0.5156 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3986, allocations: 30.73 kB / 0.5157 GB, free: 9.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.3987, allocations: 101.7 kB / 0.5158 GB, free: 9.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.3987, allocations: 30.91 kB / 0.5158 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.3988, allocations: 24.94 kB / 0.5158 GB, free: 9.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.3989, allocations: 326.3 kB / 0.5161 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.3989, allocations: 23.92 kB / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.399, allocations: 34.7 kB / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3991, allocations: 59.77 kB / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3991, allocations: 384 / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.3993, allocations: 102.7 kB / 0.5163 GB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3993, allocations: 6.094 kB / 0.5164 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3993, allocations: 4 kB / 0.5164 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3994, allocations: 4.969 kB / 0.5164 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3995, allocations: 17.73 kB / 0.5164 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3995, allocations: 1.625 kB / 0.5164 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.3995, allocations: 5.344 kB / 0.5164 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3996, allocations: 7.047 kB / 0.5164 GB, free: 8.586 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 0.0001102/0.3997, allocations: 127.3 kB / 0.5165 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.3997, allocations: 10.52 kB / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.3998, allocations: 17.41 kB / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3998, allocations: 1.625 kB / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3998, allocations: 3.984 kB / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3998, allocations: 5.031 kB / 0.5165 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.4002, allocations: 393.8 kB / 0.5169 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4002, allocations: 5.375 kB / 0.5169 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.4003, allocations: 11.19 kB / 0.5169 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4003, allocations: 5.281 kB / 0.5169 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4003, allocations: 5.344 kB / 0.5169 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4003, allocations: 1.438 kB / 0.517 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4003, allocations: 3.984 kB / 0.517 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.4005, allocations: 201.5 kB / 0.5171 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.4006, allocations: 87.77 kB / 0.5172 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.4006, allocations: 9.312 kB / 0.5172 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.4007, allocations: 2.75 kB / 0.5172 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.4007, allocations: 10.73 kB / 0.5173 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4008, allocations: 6.688 kB / 0.5173 GB, free: 7.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.4009, allocations: 152.9 kB / 0.5174 GB, free: 7.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4009, allocations: 0 / 0.5174 GB, free: 7.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.4012, allocations: 24.62 kB / 0.5174 GB, free: 7.621 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.002396/0.4036, allocations: 1.099 MB / 0.5185 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.4038, allocations: 55.55 kB / 0.5186 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4038, allocations: 1.375 kB / 0.5186 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.4039, allocations: 31.05 kB / 0.5186 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.4044, allocations: 36.25 kB / 0.5186 GB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.4062, allocations: 1.662 MB / 0.5202 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.4063, allocations: 0.7041 MB / 0.5209 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.103e-05/0.4064, allocations: 21.17 kB / 0.521 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.4065, allocations: 35.42 kB / 0.521 GB, free: 4.277 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4065, allocations: 0 / 0.521 GB, free: 4.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.4313, allocations: 3.45 MB / 0.5244 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.386, allocations: 14.69 kB / 0.5244 GB, free: 0.7461 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.845638362006866]