Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.001518/0.001518, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001933/0.001933, allocations: 214.4 kB / 23.77 MB, free: 4.551 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.639/1.639, allocations: 207.7 MB / 234.6 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.2268/0.2268, allocations: 44.26 MB / 331.1 MB, free: 9.32 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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",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.002411/0.002411, allocations: 67.89 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1257, allocations: 61.05 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003941/0.1297, allocations: 1.803 MB / 0.5187 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1314, allocations: 0.8713 MB / 0.5196 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1315, allocations: 7.938 kB / 0.5196 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.132, allocations: 219.4 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.1324, allocations: 175.4 kB / 0.52 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.1329, allocations: 151.6 kB / 0.5201 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.1333, allocations: 227.3 kB / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1334, allocations: 13.73 kB / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.1336, allocations: 123.6 kB / 0.5205 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.1338, allocations: 163.5 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.1339, allocations: 4 kB / 0.5206 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.134, allocations: 51.92 kB / 0.5207 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1341, allocations: 63.77 kB / 0.5207 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1342, allocations: 59.53 kB / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.1345, allocations: 214.9 kB / 0.521 GB, free: 2.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1346, allocations: 0 / 0.521 GB, free: 2.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1346, allocations: 0 / 0.521 GB, free: 2.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1346, allocations: 4 kB / 0.521 GB, free: 2.977 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.0007523/0.1353, allocations: 480.6 kB / 0.5215 GB, free: 2.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1354, allocations: 8.031 kB / 0.5215 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.773e-05/0.1354, allocations: 8.125 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.1354, allocations: 30.75 kB / 0.5215 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.1355, allocations: 28.75 kB / 0.5215 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.1358, allocations: 218.5 kB / 0.5217 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1359, allocations: 12.12 kB / 0.5217 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1359, allocations: 7.984 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.1361, allocations: 95.36 kB / 0.5218 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1362, allocations: 0 / 0.5218 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1362, allocations: 4 kB / 0.5219 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.1362, allocations: 4 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1363, allocations: 51.89 kB / 0.5219 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.1369, allocations: 416 kB / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.1372, allocations: 113.3 kB / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1373, allocations: 37.7 kB / 0.5224 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.1374, allocations: 4 kB / 0.5224 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.1376, allocations: 124.9 kB / 0.5226 GB, free: 1.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.286e-06/0.1376, allocations: 3.984 kB / 0.5226 GB, free: 1.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001045/0.1386, allocations: 385 kB / 0.5229 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1388, allocations: 85.05 kB / 0.523 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.1392, allocations: 436.5 kB / 0.5234 GB, free: 284 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1392, allocations: 29.7 kB / 0.5235 GB, free: 248 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1394, allocations: 152.3 kB / 0.5236 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.1394, allocations: 51.62 kB / 0.5237 GB, free: 40 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.1395, allocations: 41.7 kB / 0.5237 GB, free: 15.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1397, allocations: 342.8 kB / 0.524 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1398, allocations: 39.98 kB / 0.5241 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1399, allocations: 71.41 kB / 0.5241 GB, free: 15.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.1402, allocations: 127.3 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1402, allocations: 192 / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003579/0.1405, allocations: 197.6 kB / 0.5244 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1406, allocations: 4 kB / 0.5244 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1406, allocations: 0 / 0.5244 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.1406, allocations: 7.938 kB / 0.5245 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1407, allocations: 27.98 kB / 0.5245 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1407, allocations: 8.062 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.1408, allocations: 11.98 kB / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1408, allocations: 4 kB / 0.5245 GB, free: 15.13 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.0001661/0.141, allocations: 173.7 kB / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.1411, allocations: 31.8 kB / 0.5247 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.1415, allocations: 224.1 kB / 0.5249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1415, allocations: 3.938 kB / 0.5249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1416, allocations: 4 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1416, allocations: 3.984 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/0.1424, allocations: 0.596 MB / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1425, allocations: 0 / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1425, allocations: 24.17 kB / 0.5255 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1425, allocations: 4.062 kB / 0.5255 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1425, allocations: 11.94 kB / 0.5255 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1426, allocations: 0 / 0.5255 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1426, allocations: 3.938 kB / 0.5255 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.143, allocations: 392.2 kB / 0.5259 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.1431, allocations: 19.86 kB / 0.5259 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.1431, allocations: 8 kB / 0.5259 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1433, allocations: 7.984 kB / 0.526 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1433, allocations: 15.92 kB / 0.526 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.1433, allocations: 8 kB / 0.526 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003524/0.1437, allocations: 331 kB / 0.5263 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1437, allocations: 0 / 0.5263 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.144, allocations: 43.92 kB / 0.5263 GB, free: 13.16 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.002593/0.1466, allocations: 1.316 MB / 0.5276 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.147, allocations: 119.9 kB / 0.5277 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.147, allocations: 0 / 0.5277 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1471, allocations: 59.91 kB / 0.5278 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.1477, allocations: 53.05 kB / 0.5278 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.1517, allocations: 2.677 MB / 0.5305 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1519, allocations: 152.8 kB / 0.5306 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.152, allocations: 38.23 kB / 0.5306 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.1522, allocations: 83.39 kB / 0.5307 GB, free: 8.551 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1522, allocations: 0 / 0.5307 GB, free: 8.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.1791, allocations: 6.282 MB / 0.5369 GB, free: 2.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.72, allocations: 15.77 kB / 0.5369 GB, free: 2.129 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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: 15.434588109026663]