Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001452/0.001452, allocations: 107.3 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.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.001879/0.001879, allocations: 195.7 kB / 22.98 MB, free: 5.016 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.799/1.799, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2446/0.2446, allocations: 44.24 MB / 330.2 MB, free: 9.637 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.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 71.88 kB / 468 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1337, allocations: 61.03 MB / 0.5166 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003485/0.1372, allocations: 1.804 MB / 0.5184 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1388, allocations: 0.9053 MB / 0.5193 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.1389, allocations: 7.938 kB / 0.5193 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.1395, allocations: 311.2 kB / 0.5196 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.1399, allocations: 207.4 kB / 0.5198 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1403, allocations: 147.7 kB / 0.5199 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.1406, allocations: 247.3 kB / 0.5202 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.1406, allocations: 13.73 kB / 0.5202 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1408, allocations: 127.6 kB / 0.5203 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1411, allocations: 223.4 kB / 0.5205 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1411, allocations: 8 kB / 0.5205 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1412, allocations: 36 kB / 0.5206 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1414, allocations: 143.6 kB / 0.5207 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1415, allocations: 150.8 kB / 0.5208 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.142, allocations: 370.2 kB / 0.5212 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.142, allocations: 0 / 0.5212 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.142, allocations: 0 / 0.5212 GB, free: 2.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.142, allocations: 0 / 0.5212 GB, free: 2.145 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001037/0.143, allocations: 0.6708 MB / 0.5218 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1431, allocations: 15.97 kB / 0.5219 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.1432, allocations: 48.61 kB / 0.5219 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.1438, allocations: 386.5 kB / 0.5223 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1439, allocations: 12.36 kB / 0.5223 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1439, allocations: 8.125 kB / 0.5223 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1441, allocations: 83.38 kB / 0.5224 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1441, allocations: 4 kB / 0.5224 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1441, allocations: 0 / 0.5224 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1441, allocations: 3.984 kB / 0.5224 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1442, allocations: 31.92 kB / 0.5224 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.1446, allocations: 353.4 kB / 0.5227 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.1449, allocations: 101.2 kB / 0.5228 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.145, allocations: 41.64 kB / 0.5229 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1451, allocations: 3.984 kB / 0.5229 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.1453, allocations: 109 kB / 0.523 GB, free: 144 kB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1453, allocations: 0 / 0.523 GB, free: 144 kB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005181/0.1458, allocations: 197.2 kB / 0.5232 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.1459, allocations: 77.11 kB / 0.5232 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.1471, allocations: 1.042 MB / 0.5243 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1471, allocations: 25.7 kB / 0.5243 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1473, allocations: 236.1 kB / 0.5245 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.1473, allocations: 27.84 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.1474, allocations: 25.72 kB / 0.5246 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1476, allocations: 366.8 kB / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.1477, allocations: 27.97 kB / 0.5249 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1478, allocations: 59.36 kB / 0.525 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.148, allocations: 99.84 kB / 0.5251 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.148, allocations: 0 / 0.5251 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003287/0.1483, allocations: 169.2 kB / 0.5253 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1484, allocations: 8 kB / 0.5253 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1484, allocations: 0 / 0.5253 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1484, allocations: 4 kB / 0.5253 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1485, allocations: 27.98 kB / 0.5253 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1485, allocations: 0 / 0.5253 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1486, allocations: 15.92 kB / 0.5253 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1486, allocations: 4 kB / 0.5253 GB, free: 13.66 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002368/0.1488, allocations: 229.5 kB / 0.5255 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.1489, allocations: 51.67 kB / 0.5256 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.1493, allocations: 201.6 kB / 0.5258 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.1493, allocations: 7.984 kB / 0.5258 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1493, allocations: 11.92 kB / 0.5258 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1493, allocations: 0 / 0.5258 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.1497, allocations: 312.5 kB / 0.5261 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1497, allocations: 256 / 0.5261 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.1497, allocations: 19.98 kB / 0.5261 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1497, allocations: 0 / 0.5261 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1497, allocations: 4 kB / 0.5261 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1497, allocations: 4 kB / 0.5261 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1497, allocations: 0 / 0.5261 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1501, allocations: 221.4 kB / 0.5263 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1503, allocations: 67.59 kB / 0.5264 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.1503, allocations: 0 / 0.5264 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.1504, allocations: 8 kB / 0.5264 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1504, allocations: 7.984 kB / 0.5264 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1505, allocations: 7.984 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009257/0.1514, allocations: 0.7761 MB / 0.5272 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1514, allocations: 0 / 0.5272 GB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1517, allocations: 47.94 kB / 0.5272 GB, free: 11.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001554/0.1532, allocations: 409 kB / 0.5276 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.1535, allocations: 83.84 kB / 0.5277 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1535, allocations: 0 / 0.5277 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1536, allocations: 43.91 kB / 0.5277 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.1541, allocations: 70.2 kB / 0.5278 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1554, allocations: 0.8854 MB / 0.5287 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.156, allocations: 0.8387 MB / 0.5295 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1561, allocations: 62.94 kB / 0.5295 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.1562, allocations: 27.44 kB / 0.5296 GB, free: 9.203 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1562, allocations: 3.938 kB / 0.5296 GB, free: 9.199 MB / 414.1 MB Notification: Performance of Templates: time 0.009286/0.1655, allocations: 3.856 MB / 0.5333 GB, free: 5.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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: 5.691246104426682]