Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001199/0.001199, allocations: 112.2 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.001318/0.001318, allocations: 205 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.675/1.675, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.5679/0.5679, allocations: 44.24 MB / 326.6 MB, free: 6.84 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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.002204/0.002204, allocations: 63.91 kB / 462.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.381, allocations: 61 MB / 0.511 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003471/0.3845, allocations: 1.712 MB / 0.5127 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.3866, allocations: 1.424 MB / 0.5141 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.3867, allocations: 3.938 kB / 0.5141 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.3871, allocations: 39.3 kB / 0.5141 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.3873, allocations: 53.55 kB / 0.5142 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.3876, allocations: 89.88 kB / 0.5143 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3877, allocations: 94.11 kB / 0.5143 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3878, allocations: 12.62 kB / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.388, allocations: 52.52 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.3881, allocations: 42 kB / 0.5144 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3882, allocations: 4.312 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3883, allocations: 59.59 kB / 0.5145 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.3884, allocations: 20.8 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.3884, allocations: 38.91 kB / 0.5146 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3887, allocations: 119 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3887, allocations: 0 / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3887, allocations: 0 / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.3887, allocations: 0 / 0.5147 GB, free: 10.29 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.0005784/0.3893, allocations: 410.7 kB / 0.5151 GB, free: 9.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3893, allocations: 13.64 kB / 0.5151 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.3893, allocations: 34.75 kB / 0.5151 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.3894, allocations: 9.859 kB / 0.5151 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.3897, allocations: 205.8 kB / 0.5153 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3897, allocations: 5.656 kB / 0.5153 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3897, allocations: 6.844 kB / 0.5153 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3899, allocations: 74 kB / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3899, allocations: 0 / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3899, allocations: 0 / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3899, allocations: 0.9688 kB / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.39, allocations: 19.55 kB / 0.5154 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.3903, allocations: 287 kB / 0.5157 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3905, allocations: 56.94 kB / 0.5158 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.3906, allocations: 20.59 kB / 0.5158 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3906, allocations: 5.078 kB / 0.5158 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3907, allocations: 64.64 kB / 0.5158 GB, free: 9.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3907, allocations: 1.438 kB / 0.5158 GB, free: 9.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005963/0.3913, allocations: 171.5 kB / 0.516 GB, free: 8.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3914, allocations: 82.48 kB / 0.5161 GB, free: 8.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3915, allocations: 164.2 kB / 0.5162 GB, free: 8.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.3915, allocations: 31.08 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.3916, allocations: 92.27 kB / 0.5164 GB, free: 8.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3916, allocations: 26.53 kB / 0.5164 GB, free: 8.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.3917, allocations: 29.91 kB / 0.5164 GB, free: 8.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.3917, allocations: 325.5 kB / 0.5167 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.3918, allocations: 21.61 kB / 0.5167 GB, free: 8.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.3919, allocations: 45.69 kB / 0.5168 GB, free: 8.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.392, allocations: 55.84 kB / 0.5168 GB, free: 8.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.392, allocations: 3.938 kB / 0.5168 GB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.3921, allocations: 102.9 kB / 0.5169 GB, free: 8.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3922, allocations: 5.5 kB / 0.5169 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3922, allocations: 0 / 0.5169 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3922, allocations: 5.438 kB / 0.517 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3923, allocations: 20.3 kB / 0.517 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3923, allocations: 1.375 kB / 0.517 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.3923, allocations: 10.69 kB / 0.517 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.3924, allocations: 2.75 kB / 0.517 GB, free: 8.055 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.851e-05/0.3924, allocations: 116.7 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3925, allocations: 8.078 kB / 0.5171 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.3925, allocations: 16.83 kB / 0.5171 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3925, allocations: 4 kB / 0.5171 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3925, allocations: 1.375 kB / 0.5171 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3925, allocations: 3.938 kB / 0.5171 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.3929, allocations: 386.4 kB / 0.5175 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3929, allocations: 1.375 kB / 0.5175 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.3929, allocations: 10.86 kB / 0.5175 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.393, allocations: 5.312 kB / 0.5175 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.393, allocations: 1.375 kB / 0.5175 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.393, allocations: 1.375 kB / 0.5175 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.393, allocations: 5.406 kB / 0.5175 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.3932, allocations: 202.9 kB / 0.5177 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.3932, allocations: 83.81 kB / 0.5178 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.3932, allocations: 9.297 kB / 0.5178 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3933, allocations: 7.125 kB / 0.5178 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3933, allocations: 4.125 kB / 0.5178 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3934, allocations: 10.73 kB / 0.5178 GB, free: 7.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.3934, allocations: 115.8 kB / 0.5179 GB, free: 7.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 1.375 kB / 0.5179 GB, free: 7.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3937, allocations: 32.55 kB / 0.518 GB, free: 7.121 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.002149/0.3959, allocations: 1.152 MB / 0.5191 GB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.3961, allocations: 52.45 kB / 0.5191 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3961, allocations: 1.281 kB / 0.5191 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.3961, allocations: 22.55 kB / 0.5192 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.0003625/0.3965, allocations: 37.09 kB / 0.5192 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3979, allocations: 1.562 MB / 0.5207 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.398, allocations: 0.6924 MB / 0.5214 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.3981, allocations: 17.33 kB / 0.5214 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.3982, allocations: 35.42 kB / 0.5215 GB, free: 3.773 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3982, allocations: 0 / 0.5215 GB, free: 3.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.4265, allocations: 3.577 MB / 0.5249 GB, free: 92 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.513, allocations: 1.75 kB / 0.5249 GB, free: 92 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.055177618996822]