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.001821/0.001821, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.002457/0.002457, allocations: 217.5 kB / 23 MB, free: 5.004 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.389/1.389, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.2199/0.2199, allocations: 44.24 MB / 330.3 MB, free: 9.508 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.002544/0.002544, allocations: 74.86 kB / 467.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.137, allocations: 61.04 MB / 0.5162 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004003/0.141, allocations: 1.87 MB / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1429, allocations: 0.9286 MB / 0.5189 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1431, allocations: 7.938 kB / 0.5189 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.1436, allocations: 223.4 kB / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.1441, allocations: 167.5 kB / 0.5193 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.1446, allocations: 151.5 kB / 0.5195 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.145, allocations: 227.4 kB / 0.5197 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1452, allocations: 25.66 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.1454, allocations: 115.6 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1457, allocations: 171.4 kB / 0.52 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1457, allocations: 4 kB / 0.52 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1458, allocations: 44 kB / 0.52 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1459, allocations: 67.75 kB / 0.5201 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.146, allocations: 79.36 kB / 0.5202 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1464, allocations: 215 kB / 0.5204 GB, free: 2.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1464, allocations: 4 kB / 0.5204 GB, free: 2.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1464, allocations: 0 / 0.5204 GB, free: 2.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1464, allocations: 0 / 0.5204 GB, free: 2.98 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.0007782/0.1472, allocations: 476.6 kB / 0.5208 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1472, allocations: 8.031 kB / 0.5208 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.1473, allocations: 42.69 kB / 0.5209 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1474, allocations: 32.75 kB / 0.5209 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.1478, allocations: 214.5 kB / 0.5211 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1479, allocations: 4.375 kB / 0.5211 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.1479, allocations: 7.938 kB / 0.5211 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.1481, allocations: 95.3 kB / 0.5212 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1481, allocations: 4 kB / 0.5212 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1482, allocations: 7.938 kB / 0.5212 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1482, allocations: 4 kB / 0.5212 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1483, allocations: 35.97 kB / 0.5213 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.1489, allocations: 424 kB / 0.5217 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1492, allocations: 113.3 kB / 0.5218 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.1492, allocations: 37.7 kB / 0.5218 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1493, allocations: 3.938 kB / 0.5218 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.1495, allocations: 117.1 kB / 0.5219 GB, free: 1.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.1495, allocations: 0 / 0.5219 GB, free: 1.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009695/0.1505, allocations: 377.1 kB / 0.5223 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.1506, allocations: 81.05 kB / 0.5224 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.151, allocations: 428.5 kB / 0.5228 GB, free: 328 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1511, allocations: 33.7 kB / 0.5228 GB, free: 288 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1512, allocations: 152.3 kB / 0.5229 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.1513, allocations: 51.64 kB / 0.523 GB, free: 80 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.1513, allocations: 33.7 kB / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1515, allocations: 338.9 kB / 0.5234 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1516, allocations: 47.97 kB / 0.5234 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1518, allocations: 75.34 kB / 0.5235 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.152, allocations: 119.3 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.152, allocations: 0 / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003588/0.1523, allocations: 181.6 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1524, allocations: 8 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1524, allocations: 0 / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1524, allocations: 4 kB / 0.5238 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1525, allocations: 35.98 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1525, allocations: 8.062 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.1526, allocations: 15.92 kB / 0.5238 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1526, allocations: 7.938 kB / 0.5238 GB, free: 15.18 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.0001638/0.1528, allocations: 161.8 kB / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.1529, allocations: 35.77 kB / 0.524 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.1533, allocations: 204.1 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1533, allocations: 11.94 kB / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1533, allocations: 0 / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1533, allocations: 3.984 kB / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009284/0.1542, allocations: 0.5882 MB / 0.5248 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1542, allocations: 4 kB / 0.5248 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1543, allocations: 19.98 kB / 0.5248 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1543, allocations: 0 / 0.5248 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1543, allocations: 12.06 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1543, allocations: 3.938 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1543, allocations: 0 / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.1548, allocations: 364.6 kB / 0.5252 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.1548, allocations: 31.8 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.1549, allocations: 4 kB / 0.5252 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.155, allocations: 4 kB / 0.5252 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.155, allocations: 19.91 kB / 0.5252 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1551, allocations: 8 kB / 0.5253 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.1554, allocations: 323 kB / 0.5256 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1554, allocations: 0 / 0.5256 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1557, allocations: 35.94 kB / 0.5256 GB, free: 13.27 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 (16): * Single equations (assignments): 12 * 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.00267/0.1584, allocations: 1.273 MB / 0.5268 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1588, allocations: 107.9 kB / 0.5269 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.1588, allocations: 0 / 0.5269 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1589, allocations: 52.16 kB / 0.527 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.1595, allocations: 57.05 kB / 0.527 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.1636, allocations: 2.638 MB / 0.5296 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.1641, allocations: 0.7703 MB / 0.5304 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1642, allocations: 29.92 kB / 0.5304 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1643, allocations: 83.39 kB / 0.5305 GB, free: 8.148 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1643, allocations: 0 / 0.5305 GB, free: 8.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.2015, allocations: 5.983 MB / 0.5363 GB, free: 2.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.59, allocations: 4.188 kB / 0.5363 GB, free: 2.059 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: 14.753100693924353]