Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 103.3 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001634/0.001634, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 77.84 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 62.44 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003643/0.148, allocations: 1.789 MB / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1499, allocations: 1.021 MB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.15, allocations: 0 / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1503, allocations: 55.8 kB / 482.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1506, allocations: 87.72 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.1508, allocations: 59.89 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.151, allocations: 107.6 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1511, allocations: 15.98 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.331e-05/0.1512, allocations: 43.78 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.1513, allocations: 39.78 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1513, allocations: 0 / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1515, allocations: 47.92 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.1515, allocations: 27.91 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.1516, allocations: 39.67 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1518, allocations: 135.8 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1519, allocations: 0 / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1519, allocations: 0 / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1519, allocations: 0 / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006304/0.1525, allocations: 438.7 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1526, allocations: 16.88 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1526, allocations: 8.844 kB / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1529, allocations: 232.8 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1529, allocations: 384 / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1529, allocations: 8.125 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1531, allocations: 53.67 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1531, allocations: 0 / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1531, allocations: 0 / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1531, allocations: 4 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.1532, allocations: 19.98 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1537, allocations: 300.8 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1538, allocations: 54.69 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.1539, allocations: 24.84 kB / 483.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1539, allocations: 4 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.1541, allocations: 67.39 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.1541, allocations: 3.938 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000602/0.1547, allocations: 188.9 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1548, allocations: 51.41 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1551, allocations: 270.9 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1551, allocations: 29.7 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.1552, allocations: 120.1 kB / 484.6 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1552, allocations: 23.7 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.1553, allocations: 21.72 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1554, allocations: 334.8 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.1555, allocations: 20 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.1556, allocations: 33.7 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1557, allocations: 65.77 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1557, allocations: 0 / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001791/0.1559, allocations: 105.4 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1559, allocations: 6.656 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.156, allocations: 0 / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.156, allocations: 0 / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.1561, allocations: 23.92 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1561, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.1561, allocations: 7.875 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1562, allocations: 8.031 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000116/0.1563, allocations: 133.8 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1563, allocations: 19.8 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.1564, allocations: 21.41 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1564, allocations: 0 / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1564, allocations: 0 / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1564, allocations: 7.922 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.1568, allocations: 411.3 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1569, allocations: 0 / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.1569, allocations: 11.98 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1569, allocations: 0 / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1569, allocations: 3.938 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1569, allocations: 4.375 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1569, allocations: 0 / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1572, allocations: 212.2 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.1573, allocations: 92.92 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1573, allocations: 15.86 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1574, allocations: 0 / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1574, allocations: 4 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1574, allocations: 11.98 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1576, allocations: 200.4 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1576, allocations: 192 / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1579, allocations: 35.98 kB / 486.4 MB, free: 14.25 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00106/0.159, allocations: 451.2 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.1592, allocations: 55.98 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1592, allocations: 0 / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.1593, allocations: 32.08 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1596, allocations: 36.98 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.1602, allocations: 325.5 kB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1605, allocations: 0.7121 MB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.765e-05/0.1606, allocations: 20.88 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.1606, allocations: 19.44 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1606, allocations: 0 / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004635/0.1652, allocations: 1.69 MB / 489.7 MB, free: 11.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches