Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2414/0.2414, allocations: 46.87 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 87.84 kB / 0.4924 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1462, allocations: 65.98 MB / 0.5569 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003606/0.1498, allocations: 1.85 MB / 0.5587 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.1519, allocations: 1.104 MB / 0.5597 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.152, allocations: 0 / 0.5597 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.1526, allocations: 303.2 kB / 0.56 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.1531, allocations: 247.2 kB / 0.5603 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1534, allocations: 103.6 kB / 0.5604 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.1538, allocations: 267.2 kB / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.416e-05/0.1538, allocations: 13.67 kB / 0.5606 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.154, allocations: 127.6 kB / 0.5608 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.1544, allocations: 215.9 kB / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.1545, allocations: 8 kB / 0.561 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1546, allocations: 43.98 kB / 0.561 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1547, allocations: 132.5 kB / 0.5611 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1549, allocations: 150.7 kB / 0.5613 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.1554, allocations: 374.2 kB / 0.5616 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1554, allocations: 0 / 0.5616 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1554, allocations: 0 / 0.5616 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1554, allocations: 0 / 0.5616 GB, free: 0.9531 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.001135/0.1565, allocations: 0.7579 MB / 0.5624 GB, free: 148 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1566, allocations: 8.031 kB / 0.5624 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.1567, allocations: 52.55 kB / 0.5624 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.1573, allocations: 460.3 kB / 0.5629 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1574, allocations: 384 / 0.5629 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1574, allocations: 8.375 kB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1576, allocations: 87.67 kB / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1576, allocations: 0 / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1576, allocations: 4 kB / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1576, allocations: 4 kB / 0.563 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1578, allocations: 27.92 kB / 0.563 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1582, allocations: 370.4 kB / 0.5634 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.1585, allocations: 105.2 kB / 0.5635 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.1586, allocations: 37.69 kB / 0.5635 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1586, allocations: 4 kB / 0.5635 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1589, allocations: 113 kB / 0.5636 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.1589, allocations: 0 / 0.5636 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005247/0.1594, allocations: 205.2 kB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1595, allocations: 77.11 kB / 0.5639 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.1609, allocations: 1.022 MB / 0.5649 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1609, allocations: 33.7 kB / 0.5649 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1611, allocations: 236.1 kB / 0.5651 GB, free: 13.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1612, allocations: 31.77 kB / 0.5652 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.1612, allocations: 29.72 kB / 0.5652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003017/0.1615, allocations: 366.8 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.1616, allocations: 27.98 kB / 0.5656 GB, free: 12.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1617, allocations: 59.17 kB / 0.5656 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1619, allocations: 99.84 kB / 0.5657 GB, free: 12.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1619, allocations: 0 / 0.5657 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004306/0.1624, allocations: 169.2 kB / 0.5659 GB, free: 12.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1624, allocations: 8 kB / 0.5659 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1624, allocations: 0 / 0.5659 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1624, allocations: 4.062 kB / 0.5659 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1625, allocations: 27.92 kB / 0.5659 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1625, allocations: 3.938 kB / 0.5659 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1626, allocations: 15.94 kB / 0.5659 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1626, allocations: 4 kB / 0.5659 GB, free: 12.27 MB / 430.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.0002374/0.1629, allocations: 221.7 kB / 0.5661 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.163, allocations: 51.61 kB / 0.5662 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.1631, allocations: 60.09 kB / 0.5663 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1631, allocations: 7.984 kB / 0.5663 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1631, allocations: 0 / 0.5663 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.1631, allocations: 7.984 kB / 0.5663 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.1634, allocations: 333.5 kB / 0.5666 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1634, allocations: 4 kB / 0.5666 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.1635, allocations: 11.88 kB / 0.5666 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1635, allocations: 0 / 0.5666 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1635, allocations: 8 kB / 0.5666 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1635, allocations: 0 / 0.5666 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1635, allocations: 0 / 0.5666 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.1638, allocations: 217.6 kB / 0.5668 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.164, allocations: 144.7 kB / 0.567 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.164, allocations: 0 / 0.567 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.1641, allocations: 8 kB / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1642, allocations: 7.984 kB / 0.567 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.1642, allocations: 4 kB / 0.567 GB, free: 11.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000992/0.1652, allocations: 0.7682 MB / 0.5677 GB, free: 10.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1652, allocations: 0 / 0.5677 GB, free: 10.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1655, allocations: 43.94 kB / 0.5678 GB, free: 10.29 MB / 430.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.001525/0.167, allocations: 412.4 kB / 0.5682 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1673, allocations: 83.83 kB / 0.5682 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1673, allocations: 0 / 0.5682 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1674, allocations: 32.11 kB / 0.5683 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1678, allocations: 74.2 kB / 0.5683 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1692, allocations: 0.9104 MB / 0.5692 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.1697, allocations: 0.8388 MB / 0.5701 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.1698, allocations: 31.44 kB / 0.5701 GB, free: 8.008 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1698, allocations: 4 kB / 0.5701 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Templates: time 0.009527/0.1793, allocations: 5.093 MB / 0.5751 GB, free: 2.906 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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: 8.118508909130469]