Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.00135/0.00135, allocations: 113.6 kB / 19.69 MB, free: 2.207 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.0015/0.0015, allocations: 212.7 kB / 23 MB, free: 5.055 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.437/1.437, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.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.2243/0.2243, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.002211/0.002211, allocations: 75.89 kB / 467.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1301, allocations: 61.04 MB / 0.5162 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003418/0.1335, allocations: 1.804 MB / 0.518 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1362, allocations: 1.591 MB / 0.5195 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.1363, allocations: 3.938 kB / 0.5195 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1367, allocations: 51.75 kB / 0.5196 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.137, allocations: 91.55 kB / 0.5197 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1374, allocations: 139.7 kB / 0.5198 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.1377, allocations: 183.4 kB / 0.52 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.1377, allocations: 14.02 kB / 0.52 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1379, allocations: 87.56 kB / 0.5201 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1381, allocations: 71.67 kB / 0.5201 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1381, allocations: 12 kB / 0.5201 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1383, allocations: 63.97 kB / 0.5202 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.1383, allocations: 43.78 kB / 0.5202 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.1384, allocations: 51.67 kB / 0.5203 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1387, allocations: 175.2 kB / 0.5205 GB, free: 2.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1387, allocations: 0 / 0.5205 GB, free: 2.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1387, allocations: 3.938 kB / 0.5205 GB, free: 2.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1387, allocations: 0 / 0.5205 GB, free: 2.902 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006997/0.1394, allocations: 401.2 kB / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1394, allocations: 8.031 kB / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.1395, allocations: 42.67 kB / 0.5209 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.1396, allocations: 20.84 kB / 0.5209 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.1399, allocations: 178 kB / 0.5211 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1399, allocations: 4.359 kB / 0.5211 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.14, allocations: 7.938 kB / 0.5211 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.1402, allocations: 109 kB / 0.5212 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1402, allocations: 0 / 0.5212 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1402, allocations: 0 / 0.5212 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1402, allocations: 0 / 0.5212 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1403, allocations: 27.98 kB / 0.5212 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.1406, allocations: 189.6 kB / 0.5214 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1409, allocations: 109.1 kB / 0.5215 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.141, allocations: 37.7 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.141, allocations: 0 / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.1413, allocations: 113 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1413, allocations: 0 / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004927/0.1418, allocations: 165.5 kB / 0.5218 GB, free: 1.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1419, allocations: 132.5 kB / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1421, allocations: 211.8 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1421, allocations: 29.7 kB / 0.5222 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.1422, allocations: 112.1 kB / 0.5223 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1423, allocations: 31.73 kB / 0.5223 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.1423, allocations: 29.72 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.1426, allocations: 330.8 kB / 0.5226 GB, free: 428 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1427, allocations: 27.98 kB / 0.5227 GB, free: 400 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1428, allocations: 73.58 kB / 0.5227 GB, free: 308 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.143, allocations: 95.34 kB / 0.5228 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.143, allocations: 3.938 kB / 0.5228 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002855/0.1433, allocations: 129.5 kB / 0.523 GB, free: 60 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1433, allocations: 4 kB / 0.523 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1433, allocations: 4.094 kB / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1433, allocations: 4 kB / 0.523 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1435, allocations: 27.86 kB / 0.523 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1435, allocations: 7.938 kB / 0.523 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.1435, allocations: 11.95 kB / 0.523 GB, free: 0 / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.1436, allocations: 4.047 kB / 0.523 GB, free: 15.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001538/0.1437, allocations: 133.7 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1438, allocations: 19.91 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.1441, allocations: 150.7 kB / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1441, allocations: 4 kB / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1441, allocations: 0 / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1441, allocations: 0 / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1443, allocations: 192.8 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1443, allocations: 4 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.1444, allocations: 8 kB / 0.5235 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1444, allocations: 0 / 0.5235 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1444, allocations: 7.984 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1444, allocations: 0 / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1444, allocations: 7.938 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.1447, allocations: 169.8 kB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.1447, allocations: 15.84 kB / 0.5237 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1448, allocations: 7.984 kB / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.1449, allocations: 8 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.1449, allocations: 11.98 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.1449, allocations: 4 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1451, allocations: 157.5 kB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1451, allocations: 0 / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1454, allocations: 39.94 kB / 0.5239 GB, free: 15 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002287/0.1477, allocations: 1.06 MB / 0.525 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.148, allocations: 83.89 kB / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.148, allocations: 0 / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1481, allocations: 40.05 kB / 0.5251 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1485, allocations: 47.95 kB / 0.5251 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1509, allocations: 1.813 MB / 0.5269 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.1513, allocations: 0.7125 MB / 0.5276 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1514, allocations: 37.45 kB / 0.5276 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1515, allocations: 55.41 kB / 0.5277 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1515, allocations: 0 / 0.5277 GB, free: 11.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.1848, allocations: 4.889 MB / 0.5324 GB, free: 6.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.06, allocations: 15.8 kB / 0.5325 GB, free: 6.004 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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: 14.351494875998469]