Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001731/0.001731, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002394/0.002394, allocations: 213.8 kB / 22.99 MB, free: 4.605 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.483/1.483, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.23/0.23, allocations: 44.26 MB / 330.3 MB, free: 9.316 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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.002438/0.002438, allocations: 73 kB / 467.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1266, allocations: 61.05 MB / 0.5162 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00333/0.1299, allocations: 1.808 MB / 0.518 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1315, allocations: 0.8703 MB / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.1315, allocations: 0 / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.1321, allocations: 259.3 kB / 0.5191 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.1324, allocations: 187.4 kB / 0.5193 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1328, allocations: 155.6 kB / 0.5194 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.1331, allocations: 247.2 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1332, allocations: 25.72 kB / 0.5197 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1334, allocations: 123.6 kB / 0.5198 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1336, allocations: 199.4 kB / 0.52 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1337, allocations: 8 kB / 0.52 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1338, allocations: 39.98 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.1339, allocations: 67.7 kB / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.134, allocations: 63.48 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.1343, allocations: 234.9 kB / 0.5204 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1343, allocations: 0 / 0.5204 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1343, allocations: 0 / 0.5204 GB, free: 2.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1343, allocations: 0 / 0.5204 GB, free: 2.852 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.0007353/0.135, allocations: 0.4886 MB / 0.5208 GB, free: 2.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1351, allocations: 12.02 kB / 0.5209 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1351, allocations: 38.75 kB / 0.5209 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.1352, allocations: 28.75 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1355, allocations: 226.5 kB / 0.5211 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1355, allocations: 4.375 kB / 0.5211 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1355, allocations: 7.938 kB / 0.5211 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1358, allocations: 103.3 kB / 0.5212 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1358, allocations: 0 / 0.5212 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1358, allocations: 4 kB / 0.5212 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1358, allocations: 4 kB / 0.5213 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1359, allocations: 35.97 kB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.1365, allocations: 427.9 kB / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.1368, allocations: 121.3 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.1369, allocations: 37.7 kB / 0.5218 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1369, allocations: 0 / 0.5218 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.1371, allocations: 113.1 kB / 0.522 GB, free: 1.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1371, allocations: 0 / 0.522 GB, free: 1.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009445/0.1381, allocations: 400.4 kB / 0.5223 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1381, allocations: 89.05 kB / 0.5224 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.1386, allocations: 493.6 kB / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1387, allocations: 25.7 kB / 0.5229 GB, free: 36 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1388, allocations: 164.3 kB / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.1388, allocations: 47.64 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.1389, allocations: 33.7 kB / 0.5231 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1391, allocations: 354.7 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1392, allocations: 39.98 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1393, allocations: 79.28 kB / 0.5236 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.1395, allocations: 135.5 kB / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1395, allocations: 0 / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003403/0.1399, allocations: 185.4 kB / 0.5239 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1399, allocations: 8 kB / 0.5239 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1399, allocations: 0 / 0.5239 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1399, allocations: 4 kB / 0.5239 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1401, allocations: 35.86 kB / 0.524 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1401, allocations: 8.062 kB / 0.524 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.1401, allocations: 11.98 kB / 0.524 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1402, allocations: 4 kB / 0.524 GB, free: 14.9 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.0001586/0.1403, allocations: 169.8 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.1404, allocations: 27.81 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.1408, allocations: 232.2 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1408, allocations: 7.938 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1408, allocations: 0 / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1408, allocations: 0 / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.1416, allocations: 0.6157 MB / 0.525 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1417, allocations: 4 kB / 0.525 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.1417, allocations: 19.94 kB / 0.525 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1417, allocations: 0 / 0.525 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1417, allocations: 11.98 kB / 0.525 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1417, allocations: 4.75 kB / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1417, allocations: 0 / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.1422, allocations: 384.2 kB / 0.5254 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.1423, allocations: 39.8 kB / 0.5254 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1423, allocations: 4 kB / 0.5254 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1424, allocations: 8 kB / 0.5254 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1425, allocations: 15.97 kB / 0.5255 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1425, allocations: 12 kB / 0.5255 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.1429, allocations: 367.3 kB / 0.5258 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1429, allocations: 0 / 0.5258 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.1432, allocations: 43.88 kB / 0.5259 GB, free: 12.87 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.002609/0.1458, allocations: 1.319 MB / 0.5272 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.1462, allocations: 119.9 kB / 0.5273 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1462, allocations: 0 / 0.5273 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1463, allocations: 67.97 kB / 0.5273 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.1469, allocations: 50.03 kB / 0.5274 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.1505, allocations: 2.78 MB / 0.5301 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.1508, allocations: 165.4 kB / 0.5303 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1509, allocations: 33.62 kB / 0.5303 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.151, allocations: 87.39 kB / 0.5304 GB, free: 8.141 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.151, allocations: 0 / 0.5304 GB, free: 8.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.1865, allocations: 6.826 MB / 0.537 GB, free: 1.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.88, allocations: 64 / 0.537 GB, free: 1.188 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.334229109343141]