Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001809/0.001809, allocations: 118.2 kB / 18.5 MB, free: 4.543 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.00168/0.00168, allocations: 190.9 kB / 21.44 MB, free: 1.605 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.52/1.52, allocations: 225.6 MB / 249.8 MB, free: 3.477 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.25/0.25, allocations: 44.92 MB / 349.6 MB, free: 1.73 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 70.98 kB / 492.3 MB, free: 29.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1468, allocations: 64.25 MB / 0.5435 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003444/0.1503, allocations: 1.8 MB / 0.5453 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1521, allocations: 0.9704 MB / 0.5463 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.1522, allocations: 7.938 kB / 0.5463 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.1527, allocations: 291.3 kB / 0.5465 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.1532, allocations: 203.4 kB / 0.5467 GB, free: 304 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1536, allocations: 174.6 kB / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.154, allocations: 243.4 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.154, allocations: 5.562 kB / 0.5471 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1542, allocations: 131.5 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.1545, allocations: 207.9 kB / 0.5475 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1545, allocations: 8 kB / 0.5475 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1546, allocations: 47.97 kB / 0.5475 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.1548, allocations: 132.5 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1549, allocations: 142.8 kB / 0.5478 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.1554, allocations: 362.3 kB / 0.5481 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1554, allocations: 0 / 0.5481 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1554, allocations: 0 / 0.5481 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1554, allocations: 4 kB / 0.5481 GB, free: 14.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001009/0.1564, allocations: 0.7345 MB / 0.5488 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1564, allocations: 12.03 kB / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.1565, allocations: 48.61 kB / 0.5489 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.1572, allocations: 448.4 kB / 0.5493 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1572, allocations: 8.375 kB / 0.5493 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1572, allocations: 12.12 kB / 0.5493 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.1575, allocations: 91.33 kB / 0.5494 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1575, allocations: 0 / 0.5494 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1575, allocations: 0 / 0.5494 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1575, allocations: 4 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1576, allocations: 35.91 kB / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.1581, allocations: 362.4 kB / 0.5498 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.1584, allocations: 105.2 kB / 0.5499 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1586, allocations: 37.62 kB / 0.55 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1586, allocations: 8 kB / 0.55 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.1588, allocations: 105 kB / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1588, allocations: 0 / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005275/0.1593, allocations: 193.3 kB / 0.5502 GB, free: 12.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1594, allocations: 96.97 kB / 0.5503 GB, free: 12.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.1606, allocations: 1.003 MB / 0.5513 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1607, allocations: 29.7 kB / 0.5513 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1609, allocations: 228 kB / 0.5516 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1609, allocations: 27.78 kB / 0.5516 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.161, allocations: 37.64 kB / 0.5516 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1612, allocations: 362.8 kB / 0.552 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1613, allocations: 27.98 kB / 0.552 GB, free: 10.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1614, allocations: 59.42 kB / 0.5521 GB, free: 10.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.1616, allocations: 87.34 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1616, allocations: 4 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003155/0.1619, allocations: 173.8 kB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.162, allocations: 4 kB / 0.5523 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.162, allocations: 0 / 0.5523 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.162, allocations: 4 kB / 0.5523 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1622, allocations: 23.92 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1622, allocations: 7.984 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.1623, allocations: 19.88 kB / 0.5524 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1623, allocations: 4 kB / 0.5524 GB, free: 10.22 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.0002292/0.1625, allocations: 217.8 kB / 0.5526 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.1626, allocations: 55.67 kB / 0.5526 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.1627, allocations: 55.84 kB / 0.5527 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1627, allocations: 0 / 0.5527 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.1627, allocations: 11.92 kB / 0.5527 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1627, allocations: 0 / 0.5527 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.163, allocations: 333.4 kB / 0.553 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.163, allocations: 0 / 0.553 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.1631, allocations: 8 kB / 0.553 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1631, allocations: 0 / 0.553 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1631, allocations: 15.98 kB / 0.553 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1631, allocations: 0 / 0.553 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1631, allocations: 0 / 0.553 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.1635, allocations: 201.5 kB / 0.5532 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.1636, allocations: 140.8 kB / 0.5534 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.1637, allocations: 4 kB / 0.5534 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.1637, allocations: 11.98 kB / 0.5534 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.1638, allocations: 8.078 kB / 0.5534 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1638, allocations: 7.938 kB / 0.5534 GB, free: 9.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008938/0.1647, allocations: 0.7526 MB / 0.5541 GB, free: 8.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1647, allocations: 0 / 0.5541 GB, free: 8.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.165, allocations: 43.94 kB / 0.5542 GB, free: 8.281 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001543/0.1665, allocations: 415.7 kB / 0.5546 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.1668, allocations: 79.89 kB / 0.5546 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1668, allocations: 4 kB / 0.5546 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1669, allocations: 31.98 kB / 0.5547 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1674, allocations: 75.38 kB / 0.5547 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1687, allocations: 0.8542 MB / 0.5556 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.1693, allocations: 0.8464 MB / 0.5564 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1695, allocations: 58.94 kB / 0.5565 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.1695, allocations: 31.42 kB / 0.5565 GB, free: 6.008 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1695, allocations: 0 / 0.5565 GB, free: 6.008 MB / 414.1 MB Notification: Performance of Templates: time 0.008744/0.1783, allocations: 3.724 MB / 0.5601 GB, free: 2.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.48446593247354]