Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001744/0.001744, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.00235/0.00235, allocations: 213.4 kB / 23 MB, free: 5.004 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.389/1.389, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2159/0.2159, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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: 63.91 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1215, allocations: 61.05 MB / 0.5162 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003191/0.1247, allocations: 1.8 MB / 0.518 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.127, allocations: 1.583 MB / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.1271, allocations: 3.938 kB / 0.5195 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.1275, allocations: 55.69 kB / 0.5196 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1278, allocations: 91.53 kB / 0.5197 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.1281, allocations: 151.7 kB / 0.5198 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.1284, allocations: 175.5 kB / 0.52 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.1285, allocations: 17.94 kB / 0.52 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.1286, allocations: 87.56 kB / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1288, allocations: 75.62 kB / 0.5201 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.1288, allocations: 8 kB / 0.5201 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.129, allocations: 59.97 kB / 0.5202 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.1291, allocations: 39.84 kB / 0.5202 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.1291, allocations: 55.66 kB / 0.5203 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.1294, allocations: 175.1 kB / 0.5205 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1294, allocations: 8 kB / 0.5205 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1294, allocations: 0 / 0.5205 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1294, allocations: 0 / 0.5205 GB, free: 2.871 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.0006461/0.1301, allocations: 389.3 kB / 0.5208 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1301, allocations: 12.03 kB / 0.5209 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.1302, allocations: 34.73 kB / 0.5209 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.1302, allocations: 16.84 kB / 0.5209 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1306, allocations: 189.8 kB / 0.5211 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1306, allocations: 12.38 kB / 0.5211 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1306, allocations: 3.938 kB / 0.5211 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1308, allocations: 97.08 kB / 0.5212 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1308, allocations: 0 / 0.5212 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1308, allocations: 0 / 0.5212 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.447e-05/0.1309, allocations: 4 kB / 0.5212 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.131, allocations: 35.91 kB / 0.5212 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.1313, allocations: 185.6 kB / 0.5214 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1316, allocations: 101.1 kB / 0.5215 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.1317, allocations: 41.7 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1317, allocations: 0 / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1319, allocations: 109 kB / 0.5216 GB, free: 1.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.123e-06/0.1319, allocations: 0 / 0.5216 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005426/0.1325, allocations: 169.5 kB / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/0.1326, allocations: 132.5 kB / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1328, allocations: 211.8 kB / 0.5221 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1328, allocations: 29.7 kB / 0.5222 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.1329, allocations: 112.1 kB / 0.5223 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.133, allocations: 35.72 kB / 0.5223 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.133, allocations: 25.72 kB / 0.5223 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1332, allocations: 334.8 kB / 0.5226 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.1333, allocations: 31.98 kB / 0.5227 GB, free: 372 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1334, allocations: 65.14 kB / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.1336, allocations: 99.88 kB / 0.5228 GB, free: 176 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1336, allocations: 3.938 kB / 0.5228 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002553/0.1338, allocations: 129.5 kB / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1338, allocations: 4 kB / 0.523 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1338, allocations: 4 kB / 0.523 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1338, allocations: 0 / 0.523 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.134, allocations: 27.92 kB / 0.523 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.134, allocations: 0 / 0.523 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.1341, allocations: 16.12 kB / 0.523 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1341, allocations: 8.062 kB / 0.523 GB, free: 15.97 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.0001244/0.1342, allocations: 145.4 kB / 0.5232 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.1342, allocations: 15.91 kB / 0.5232 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.1346, allocations: 150.7 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1346, allocations: 3.938 kB / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1346, allocations: 0 / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1346, allocations: 0 / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1348, allocations: 188.5 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1348, allocations: 8 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.1348, allocations: 7.984 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1348, allocations: 4 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1348, allocations: 0 / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1348, allocations: 256 / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.1348, allocations: 8 kB / 0.5235 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.1351, allocations: 177.7 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.1351, allocations: 11.91 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.1352, allocations: 3.984 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.1352, allocations: 4 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1353, allocations: 11.98 kB / 0.5237 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1353, allocations: 4 kB / 0.5237 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1355, allocations: 161.5 kB / 0.5239 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1355, allocations: 0 / 0.5239 GB, free: 15.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1357, allocations: 35.94 kB / 0.5239 GB, free: 14.98 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.002234/0.138, allocations: 1.06 MB / 0.525 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1382, allocations: 87.83 kB / 0.525 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1382, allocations: 0 / 0.525 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1384, allocations: 31.98 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1387, allocations: 55.95 kB / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.1411, allocations: 1.805 MB / 0.5269 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1415, allocations: 0.7203 MB / 0.5276 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1416, allocations: 37.95 kB / 0.5276 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1417, allocations: 47.41 kB / 0.5277 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 1.462e-06/0.1417, allocations: 0 / 0.5277 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.1774, allocations: 4.9 MB / 0.5325 GB, free: 5.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.14, allocations: 15.8 kB / 0.5325 GB, free: 5.98 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_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_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.31835589799448]