Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001285/0.001285, 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.001499/0.001499, 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.836/1.836, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.3774/0.3774, allocations: 44.23 MB / 326.6 MB, free: 6.832 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.002939/0.002939, allocations: 71.89 kB / 462.3 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3962, allocations: 61.01 MB / 0.511 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003983/0.4002, allocations: 1.931 MB / 0.5129 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.4019, allocations: 0.8506 MB / 0.5137 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.4021, allocations: 5.469 kB / 0.5137 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.4025, allocations: 44.92 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.4028, allocations: 59.14 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.4032, allocations: 102.5 kB / 0.5139 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.4034, allocations: 142.7 kB / 0.5141 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4036, allocations: 21.08 kB / 0.5141 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.4037, allocations: 62.67 kB / 0.5141 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.4038, allocations: 52.67 kB / 0.5142 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.4039, allocations: 7.406 kB / 0.5142 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.404, allocations: 46.47 kB / 0.5142 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.404, allocations: 25.55 kB / 0.5143 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.4041, allocations: 51.55 kB / 0.5143 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.4044, allocations: 154.4 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4044, allocations: 0 / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4044, allocations: 0 / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4044, allocations: 1.656 kB / 0.5145 GB, free: 10.45 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.0007028/0.4051, allocations: 482.9 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4052, allocations: 13.14 kB / 0.5149 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.4052, allocations: 41.45 kB / 0.515 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.4052, allocations: 16.25 kB / 0.515 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.4055, allocations: 217.5 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4056, allocations: 7.094 kB / 0.5152 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.4056, allocations: 16.67 kB / 0.5152 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.4058, allocations: 110.7 kB / 0.5153 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4059, allocations: 0 / 0.5153 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4059, allocations: 1.438 kB / 0.5153 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4059, allocations: 1.281 kB / 0.5153 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.406, allocations: 50.56 kB / 0.5154 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.4067, allocations: 0.5083 MB / 0.5159 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.4071, allocations: 88.56 kB / 0.516 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4072, allocations: 37.33 kB / 0.516 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.4073, allocations: 5.375 kB / 0.516 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.4075, allocations: 85.25 kB / 0.5161 GB, free: 8.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.4075, allocations: 3.938 kB / 0.5161 GB, free: 8.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005403/0.4081, allocations: 147.4 kB / 0.5162 GB, free: 8.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.4082, allocations: 52.78 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.4084, allocations: 190.3 kB / 0.5165 GB, free: 8.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.4084, allocations: 31.08 kB / 0.5165 GB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4085, allocations: 114.9 kB / 0.5166 GB, free: 8.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.4085, allocations: 27.92 kB / 0.5166 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.4086, allocations: 27.34 kB / 0.5166 GB, free: 8.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4087, allocations: 325.6 kB / 0.517 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.4088, allocations: 28.48 kB / 0.517 GB, free: 8.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4089, allocations: 74.66 kB / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.4091, allocations: 97.31 kB / 0.5172 GB, free: 7.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4091, allocations: 4 kB / 0.5172 GB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002589/0.4094, allocations: 142.2 kB / 0.5173 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4094, allocations: 5.375 kB / 0.5173 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4094, allocations: 1.312 kB / 0.5173 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4094, allocations: 6.562 kB / 0.5173 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.918e-05/0.4095, allocations: 21.77 kB / 0.5173 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.4095, allocations: 5.531 kB / 0.5173 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.4096, allocations: 21.88 kB / 0.5173 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4096, allocations: 4.062 kB / 0.5174 GB, free: 7.781 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 8.45e-05/0.4097, allocations: 126 kB / 0.5175 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.4097, allocations: 15.44 kB / 0.5175 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.4097, allocations: 24.88 kB / 0.5175 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4097, allocations: 5.062 kB / 0.5175 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4097, allocations: 1.344 kB / 0.5175 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4098, allocations: 0 / 0.5175 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.4099, allocations: 205.3 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4099, allocations: 5.188 kB / 0.5177 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.41, allocations: 13.3 kB / 0.5177 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.41, allocations: 0.6875 kB / 0.5177 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.41, allocations: 1.344 kB / 0.5177 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.41, allocations: 3.938 kB / 0.5177 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.41, allocations: 1.125 kB / 0.5177 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.4103, allocations: 176.9 kB / 0.5179 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.4104, allocations: 100.7 kB / 0.518 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.4104, allocations: 9.062 kB / 0.518 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.4105, allocations: 8.562 kB / 0.518 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.4105, allocations: 10.39 kB / 0.518 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.4105, allocations: 4.094 kB / 0.518 GB, free: 7.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.4106, allocations: 142.3 kB / 0.5182 GB, free: 7.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4106, allocations: 0 / 0.5182 GB, free: 7.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.4109, allocations: 23.69 kB / 0.5182 GB, free: 7.016 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.002004/0.4129, allocations: 1.026 MB / 0.5192 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.4131, allocations: 77.22 kB / 0.5193 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4131, allocations: 4.25 kB / 0.5193 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.4132, allocations: 43.34 kB / 0.5193 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.4135, allocations: 43.83 kB / 0.5194 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4152, allocations: 1.736 MB / 0.521 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.4153, allocations: 0.7162 MB / 0.5217 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.4154, allocations: 13.42 kB / 0.5218 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.4154, allocations: 39.42 kB / 0.5218 GB, free: 3.383 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4154, allocations: 0 / 0.5218 GB, free: 3.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.442, allocations: 3.798 MB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.434, allocations: 2.406 kB / 0.5255 GB, free: 15.52 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.911240952002117]