Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001697/0.001697, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001553/0.001553, allocations: 224.1 kB / 23 MB, free: 4.969 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.464/1.464, allocations: 207.7 MB / 233.8 MB, free: 9.781 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.2423/0.2423, allocations: 44.27 MB / 330.3 MB, free: 9.305 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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.002521/0.002521, allocations: 70.72 kB / 467.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.129, allocations: 61.04 MB / 0.5162 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004896/0.1339, allocations: 1.816 MB / 0.518 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1361, allocations: 0.8625 MB / 0.5188 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1363, allocations: 4 kB / 0.5188 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.1368, allocations: 155.5 kB / 0.519 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.1372, allocations: 147.5 kB / 0.5191 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.1377, allocations: 151.7 kB / 0.5193 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.1381, allocations: 219.3 kB / 0.5195 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1382, allocations: 9.734 kB / 0.5195 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.1384, allocations: 107.6 kB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1387, allocations: 131.5 kB / 0.5197 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.1387, allocations: 8 kB / 0.5197 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1389, allocations: 47.98 kB / 0.5198 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.139, allocations: 55.7 kB / 0.5198 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.1391, allocations: 51.61 kB / 0.5199 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.1394, allocations: 207 kB / 0.5201 GB, free: 3.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1394, allocations: 0 / 0.5201 GB, free: 3.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1394, allocations: 0 / 0.5201 GB, free: 3.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1395, allocations: 0 / 0.5201 GB, free: 3.148 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008838/0.1403, allocations: 456.7 kB / 0.5205 GB, free: 2.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1404, allocations: 15.97 kB / 0.5205 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.1404, allocations: 34.75 kB / 0.5205 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.1405, allocations: 32.75 kB / 0.5206 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.141, allocations: 193.6 kB / 0.5208 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.141, allocations: 8.375 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.141, allocations: 7.938 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1413, allocations: 103.3 kB / 0.5209 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1413, allocations: 0 / 0.5209 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1413, allocations: 8 kB / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1414, allocations: 0 / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1415, allocations: 39.97 kB / 0.5209 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.1422, allocations: 415.9 kB / 0.5213 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1425, allocations: 109.3 kB / 0.5214 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1426, allocations: 41.7 kB / 0.5215 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1426, allocations: 4 kB / 0.5215 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1429, allocations: 113 kB / 0.5216 GB, free: 1.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.1429, allocations: 0 / 0.5216 GB, free: 1.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009995/0.1439, allocations: 377.2 kB / 0.5219 GB, free: 1.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1439, allocations: 85.05 kB / 0.522 GB, free: 0.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.1444, allocations: 368.1 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1444, allocations: 29.7 kB / 0.5224 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1445, allocations: 140.4 kB / 0.5225 GB, free: 424 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.1446, allocations: 51.59 kB / 0.5226 GB, free: 372 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.1447, allocations: 37.7 kB / 0.5226 GB, free: 328 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1449, allocations: 334.8 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.145, allocations: 39.98 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1451, allocations: 91.31 kB / 0.5231 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1453, allocations: 119.5 kB / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1453, allocations: 192 / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003567/0.1457, allocations: 193.4 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1457, allocations: 4 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1457, allocations: 3.984 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1458, allocations: 4 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1459, allocations: 39.92 kB / 0.5234 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1459, allocations: 4 kB / 0.5234 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.145e-05/0.146, allocations: 11.98 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.146, allocations: 4 kB / 0.5234 GB, free: 15.45 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001631/0.1462, allocations: 161.7 kB / 0.5236 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.1462, allocations: 23.86 kB / 0.5236 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.1467, allocations: 215.2 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.1467, allocations: 7.938 kB / 0.5238 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1467, allocations: 4 kB / 0.5238 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1467, allocations: 3.984 kB / 0.5238 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008425/0.1476, allocations: 0.5884 MB / 0.5244 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1476, allocations: 4 kB / 0.5244 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.1476, allocations: 23.92 kB / 0.5244 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1476, allocations: 4 kB / 0.5244 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1477, allocations: 4 kB / 0.5244 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1477, allocations: 4 kB / 0.5244 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1477, allocations: 0 / 0.5244 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.1481, allocations: 388.2 kB / 0.5248 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.1482, allocations: 19.86 kB / 0.5248 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1482, allocations: 8 kB / 0.5248 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1483, allocations: 11.98 kB / 0.5248 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.1484, allocations: 11.97 kB / 0.5249 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1484, allocations: 15.92 kB / 0.5249 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.1487, allocations: 275 kB / 0.5251 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1487, allocations: 0 / 0.5251 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.149, allocations: 39.94 kB / 0.5252 GB, free: 13.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.002628/0.1517, allocations: 1.3 MB / 0.5264 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.152, allocations: 119.9 kB / 0.5266 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.152, allocations: 0 / 0.5266 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1522, allocations: 63.84 kB / 0.5266 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.1527, allocations: 56.88 kB / 0.5267 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.156, allocations: 2.489 MB / 0.5291 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.1561, allocations: 141 kB / 0.5292 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1562, allocations: 33.61 kB / 0.5293 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1564, allocations: 75.41 kB / 0.5293 GB, free: 9.188 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1564, allocations: 4 kB / 0.5293 GB, free: 9.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.1924, allocations: 6.253 MB / 0.5354 GB, free: 2.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.74, allocations: 12 kB / 0.5355 GB, free: 2.789 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.101593957748264]