Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.00124/0.00124, 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.001453/0.001453, 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.903/1.903, allocations: 207.6 MB / 230.5 MB, free: 4.043 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.4616/0.4616, allocations: 44.23 MB / 326.6 MB, free: 6.766 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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.002169/0.002169, allocations: 80.34 kB / 462.3 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3988, allocations: 61 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003119/0.402, allocations: 1.702 MB / 0.5127 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.4033, allocations: 0.8184 MB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.678e-05/0.4034, allocations: 1.844 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.4038, allocations: 81.72 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.404, allocations: 76.59 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.4043, allocations: 88.98 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.4045, allocations: 105.1 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4046, allocations: 17.12 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.4047, allocations: 54.83 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.4048, allocations: 60.42 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4049, allocations: 7.656 kB / 0.514 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.405, allocations: 42.98 kB / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.405, allocations: 24.02 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.4051, allocations: 34.83 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.4053, allocations: 117.6 kB / 0.5142 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4053, allocations: 0 / 0.5142 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4053, allocations: 1.469 kB / 0.5142 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.4054, allocations: 4 kB / 0.5142 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.0005882/0.4059, allocations: 424.9 kB / 0.5146 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.406, allocations: 17.09 kB / 0.5146 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.406, allocations: 33.03 kB / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.4061, allocations: 13.66 kB / 0.5146 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.4064, allocations: 211.7 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4064, allocations: 1.875 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.4065, allocations: 6.625 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4066, allocations: 58.95 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4066, allocations: 0 / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.4066, allocations: 0 / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4066, allocations: 5.219 kB / 0.5149 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.4067, allocations: 18.83 kB / 0.5149 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.407, allocations: 294.9 kB / 0.5152 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.4072, allocations: 63.64 kB / 0.5153 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.4072, allocations: 17.39 kB / 0.5153 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.4073, allocations: 1.094 kB / 0.5153 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.4074, allocations: 73.53 kB / 0.5154 GB, free: 9.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4074, allocations: 0 / 0.5154 GB, free: 9.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005598/0.408, allocations: 170.7 kB / 0.5155 GB, free: 9.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.408, allocations: 59.34 kB / 0.5156 GB, free: 9.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.4082, allocations: 220.9 kB / 0.5158 GB, free: 9.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.4082, allocations: 31.08 kB / 0.5158 GB, free: 9.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.4083, allocations: 105.6 kB / 0.5159 GB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.4083, allocations: 19.98 kB / 0.5159 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.4083, allocations: 24.58 kB / 0.516 GB, free: 9.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.4084, allocations: 323 kB / 0.5163 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.4085, allocations: 23 kB / 0.5163 GB, free: 8.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.4085, allocations: 35.45 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.4086, allocations: 58.39 kB / 0.5164 GB, free: 8.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4086, allocations: 0 / 0.5164 GB, free: 8.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.4088, allocations: 112.2 kB / 0.5165 GB, free: 8.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4088, allocations: 5.5 kB / 0.5165 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4088, allocations: 5.312 kB / 0.5165 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4088, allocations: 4.031 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.4089, allocations: 17.69 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4089, allocations: 1.375 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.409, allocations: 9.297 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.409, allocations: 6.75 kB / 0.5165 GB, free: 8.559 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.444e-05/0.4091, allocations: 120.8 kB / 0.5166 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.4091, allocations: 13.44 kB / 0.5167 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.4091, allocations: 16.28 kB / 0.5167 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.4091, allocations: 5.375 kB / 0.5167 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4091, allocations: 0 / 0.5167 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4091, allocations: 3.938 kB / 0.5167 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.4095, allocations: 403.8 kB / 0.5171 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4095, allocations: 0 / 0.5171 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.4096, allocations: 12.44 kB / 0.5171 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4096, allocations: 3.938 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.4096, allocations: 7.062 kB / 0.5171 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4096, allocations: 3.938 kB / 0.5171 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4096, allocations: 9.406 kB / 0.5171 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.4098, allocations: 196.3 kB / 0.5173 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.4098, allocations: 93.12 kB / 0.5174 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.4099, allocations: 9.297 kB / 0.5174 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.4099, allocations: 1.375 kB / 0.5174 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.41, allocations: 8.109 kB / 0.5174 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.41, allocations: 10.75 kB / 0.5174 GB, free: 7.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.4101, allocations: 156.7 kB / 0.5176 GB, free: 7.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4101, allocations: 0 / 0.5176 GB, free: 7.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.4104, allocations: 20.5 kB / 0.5176 GB, free: 7.594 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.002474/0.4129, allocations: 1.103 MB / 0.5187 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.4131, allocations: 61.2 kB / 0.5187 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4131, allocations: 0 / 0.5187 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4132, allocations: 30.67 kB / 0.5187 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.4138, allocations: 37.75 kB / 0.5188 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4159, allocations: 1.688 MB / 0.5204 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.4161, allocations: 0.7079 MB / 0.5211 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.212e-05/0.4162, allocations: 20.48 kB / 0.5211 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.4163, allocations: 35.42 kB / 0.5212 GB, free: 4.074 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4163, allocations: 0 / 0.5212 GB, free: 4.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.4441, allocations: 3.509 MB / 0.5246 GB, free: 0.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.406, allocations: 10.25 kB / 0.5246 GB, free: 0.4922 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_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_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.01144327899965]