Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001887/0.001887, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002365/0.002365, allocations: 218.1 kB / 22.99 MB, free: 4.973 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.454/1.454, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2182/0.2182, allocations: 44.27 MB / 330.4 MB, free: 9.289 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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.002441/0.002441, allocations: 77.55 kB / 467.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1188, allocations: 61.04 MB / 0.5162 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003885/0.1227, allocations: 1.812 MB / 0.518 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1246, allocations: 0.8625 MB / 0.5188 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1247, allocations: 4 kB / 0.5188 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.1254, allocations: 255.4 kB / 0.5191 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.1259, allocations: 191.4 kB / 0.5193 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1264, allocations: 143.7 kB / 0.5194 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.1268, allocations: 251.2 kB / 0.5196 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1269, allocations: 25.7 kB / 0.5197 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1272, allocations: 123.6 kB / 0.5198 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.1275, allocations: 195.5 kB / 0.52 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.1275, allocations: 8 kB / 0.52 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1277, allocations: 47.97 kB / 0.52 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1278, allocations: 63.7 kB / 0.5201 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1279, allocations: 71.34 kB / 0.5201 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.1283, allocations: 223 kB / 0.5204 GB, free: 2.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1283, allocations: 4 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1283, allocations: 0 / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1283, allocations: 0 / 0.5204 GB, free: 2.824 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.0008376/0.1291, allocations: 0.4926 MB / 0.5208 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1292, allocations: 11.97 kB / 0.5208 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.1292, allocations: 46.67 kB / 0.5209 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.1293, allocations: 28.75 kB / 0.5209 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.1297, allocations: 218.5 kB / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1298, allocations: 384 / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.1298, allocations: 7.938 kB / 0.5211 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.13, allocations: 103.3 kB / 0.5212 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1301, allocations: 7.938 kB / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1301, allocations: 8 kB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1301, allocations: 0 / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1302, allocations: 39.97 kB / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.1309, allocations: 428 kB / 0.5217 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.1312, allocations: 117.3 kB / 0.5218 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1313, allocations: 37.7 kB / 0.5218 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1313, allocations: 11.94 kB / 0.5219 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.1316, allocations: 113.1 kB / 0.522 GB, free: 1.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.1316, allocations: 0 / 0.522 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001048/0.1326, allocations: 393.1 kB / 0.5223 GB, free: 0.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.1327, allocations: 85.05 kB / 0.5224 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.1333, allocations: 489.6 kB / 0.5229 GB, free: 36 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.1333, allocations: 33.69 kB / 0.5229 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1334, allocations: 164.3 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.1335, allocations: 55.62 kB / 0.5231 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.1336, allocations: 33.7 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1337, allocations: 346.8 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1338, allocations: 39.97 kB / 0.5235 GB, free: 15.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.134, allocations: 71.59 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1342, allocations: 127.4 kB / 0.5237 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1342, allocations: 4 kB / 0.5237 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000372/0.1346, allocations: 201.3 kB / 0.5239 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1346, allocations: 4 kB / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1346, allocations: 4 kB / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1346, allocations: 0 / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1348, allocations: 35.92 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1348, allocations: 3.938 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.1349, allocations: 11.94 kB / 0.524 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1349, allocations: 11.98 kB / 0.524 GB, free: 14.86 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.000169/0.1351, allocations: 169.7 kB / 0.5241 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.1351, allocations: 35.88 kB / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.1356, allocations: 228.4 kB / 0.5244 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1356, allocations: 3.938 kB / 0.5244 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1356, allocations: 7.984 kB / 0.5244 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1356, allocations: 0 / 0.5244 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/0.1364, allocations: 0.6038 MB / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1364, allocations: 0 / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.1365, allocations: 19.98 kB / 0.525 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.1365, allocations: 8.062 kB / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1365, allocations: 8 kB / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1365, allocations: 7.922 kB / 0.525 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1365, allocations: 0 / 0.525 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.137, allocations: 384.2 kB / 0.5254 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1371, allocations: 27.81 kB / 0.5254 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.1371, allocations: 4 kB / 0.5254 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1373, allocations: 11.98 kB / 0.5254 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.1373, allocations: 15.92 kB / 0.5255 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.1373, allocations: 11.98 kB / 0.5255 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.1377, allocations: 375.1 kB / 0.5258 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1377, allocations: 4 kB / 0.5258 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.1381, allocations: 35.94 kB / 0.5259 GB, free: 12.83 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.00266/0.1407, allocations: 1.32 MB / 0.5272 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.141, allocations: 111.9 kB / 0.5273 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.1411, allocations: 0 / 0.5273 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1412, allocations: 63.84 kB / 0.5273 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1417, allocations: 57.98 kB / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.1453, allocations: 2.784 MB / 0.5301 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.1455, allocations: 169.5 kB / 0.5303 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.711e-05/0.1456, allocations: 29.61 kB / 0.5303 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1457, allocations: 87.41 kB / 0.5304 GB, free: 8.102 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1457, allocations: 0 / 0.5304 GB, free: 8.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.1801, allocations: 6.814 MB / 0.537 GB, free: 1.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.87, allocations: 7.922 kB / 0.537 GB, free: 1.152 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_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_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.161172343418002]