Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 119 kB / 18.5 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 194.9 kB / 21.44 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2101/0.2101, allocations: 44.91 MB / 349.6 MB, free: 1.758 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 70.84 kB / 491.9 MB, free: 29.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 64.25 MB / 0.5431 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003312/0.112, allocations: 1.894 MB / 0.5449 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1137, allocations: 1.009 MB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1138, allocations: 4 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.1142, allocations: 215.4 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.1146, allocations: 171.5 kB / 0.5463 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.115, allocations: 175.5 kB / 0.5465 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.1153, allocations: 243.4 kB / 0.5467 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1154, allocations: 21.89 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1155, allocations: 119.5 kB / 0.5468 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1157, allocations: 171.4 kB / 0.547 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1158, allocations: 8 kB / 0.547 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1159, allocations: 63.97 kB / 0.5471 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.116, allocations: 59.77 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.1161, allocations: 83.36 kB / 0.5472 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.1164, allocations: 238.9 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1164, allocations: 4 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1164, allocations: 0 / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1164, allocations: 0 / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007457/0.1172, allocations: 0.5562 MB / 0.548 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1172, allocations: 15.97 kB / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.1172, allocations: 34.75 kB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.1173, allocations: 40.69 kB / 0.5481 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.1177, allocations: 276.4 kB / 0.5483 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1177, allocations: 4.375 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1177, allocations: 11.94 kB / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.118, allocations: 109.5 kB / 0.5485 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.118, allocations: 11.88 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.118, allocations: 3.984 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.118, allocations: 4 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1181, allocations: 51.95 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.1187, allocations: 468.7 kB / 0.549 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.1191, allocations: 117.2 kB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1192, allocations: 49.7 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1192, allocations: 4 kB / 0.5491 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.1194, allocations: 124.2 kB / 0.5493 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1194, allocations: 4 kB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001278/0.1207, allocations: 0.4937 MB / 0.5497 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.1208, allocations: 81.11 kB / 0.5498 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.1212, allocations: 436.4 kB / 0.5502 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1212, allocations: 29.7 kB / 0.5503 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1213, allocations: 152.5 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.735e-05/0.1214, allocations: 79.42 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.1215, allocations: 45.64 kB / 0.5505 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1217, allocations: 338.8 kB / 0.5508 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1218, allocations: 55.97 kB / 0.5509 GB, free: 11.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1219, allocations: 95.28 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1222, allocations: 167.5 kB / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1222, allocations: 0 / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004103/0.1226, allocations: 237.2 kB / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1226, allocations: 8 kB / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1227, allocations: 0 / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1227, allocations: 0 / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1228, allocations: 52.03 kB / 0.5514 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1228, allocations: 0 / 0.5514 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.1229, allocations: 15.94 kB / 0.5514 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1229, allocations: 4 kB / 0.5515 GB, free: 11.16 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 (26): * Single equations (assignments): 26 * 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.0001593/0.1231, allocations: 161.8 kB / 0.5516 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.1231, allocations: 35.75 kB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.1232, allocations: 42.61 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1232, allocations: 0 / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1232, allocations: 0 / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1232, allocations: 11.94 kB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009541/0.1242, allocations: 0.7272 MB / 0.5524 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1242, allocations: 4 kB / 0.5524 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/0.1243, allocations: 27.92 kB / 0.5524 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1243, allocations: 8.125 kB / 0.5524 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1243, allocations: 11.98 kB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1243, allocations: 8 kB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1243, allocations: 3.938 kB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.1248, allocations: 423.2 kB / 0.5529 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.1249, allocations: 104.9 kB / 0.553 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.1249, allocations: 8 kB / 0.553 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1251, allocations: 8 kB / 0.553 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.1251, allocations: 19.91 kB / 0.553 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.1251, allocations: 15.98 kB / 0.553 GB, free: 9.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.1255, allocations: 327 kB / 0.5533 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1255, allocations: 0 / 0.5533 GB, free: 9.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.1258, allocations: 47.94 kB / 0.5534 GB, free: 9.066 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.002599/0.1284, allocations: 1.367 MB / 0.5547 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.1288, allocations: 143.8 kB / 0.5548 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1288, allocations: 0 / 0.5548 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.129, allocations: 84.03 kB / 0.5549 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.1295, allocations: 66.03 kB / 0.555 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.1331, allocations: 2.823 MB / 0.5577 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1335, allocations: 0.7752 MB / 0.5585 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.1336, allocations: 41.92 kB / 0.5585 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1338, allocations: 91.39 kB / 0.5586 GB, free: 3.734 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1338, allocations: 0 / 0.5586 GB, free: 3.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.1629, allocations: 6.31 MB / 0.5648 GB, free: 13.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/8.741, allocations: 11.84 kB / 0.5648 GB, free: 13.45 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.716832655016333]