Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.12 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002881, allocations: 81.92 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1416, allocations: 62.45 MB / 480.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.0042/0.1459, allocations: 1.719 MB / 482.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1481, allocations: 1.025 MB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1483, allocations: 4 kB / 483.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1487, allocations: 47.75 kB / 483.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.1492, allocations: 111.5 kB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1495, allocations: 71.69 kB / 483.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.1498, allocations: 107.7 kB / 483.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.15, allocations: 15.98 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1501, allocations: 39.8 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1502, allocations: 35.78 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.1503, allocations: 4 kB / 483.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1504, allocations: 43.98 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.1505, allocations: 35.84 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.436e-05/0.1506, allocations: 35.69 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1509, allocations: 143.8 kB / 484.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1509, allocations: 0 / 484.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1509, allocations: 0 / 484.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1509, allocations: 0 / 484.2 MB, free: 1.773 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.0008206/0.1518, allocations: 446.7 kB / 484.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.1518, allocations: 12.03 kB / 484.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.1519, allocations: 8.844 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1522, allocations: 228.8 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1523, allocations: 12.31 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1523, allocations: 8.125 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1525, allocations: 49.67 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1525, allocations: 0 / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1525, allocations: 4 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1525, allocations: 4 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.1526, allocations: 15.98 kB / 485 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.1531, allocations: 300.9 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1533, allocations: 54.62 kB / 485.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.1534, allocations: 20.84 kB / 485.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1534, allocations: 0 / 485.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.1537, allocations: 75.33 kB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1537, allocations: 0 / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006497/0.1544, allocations: 189 kB / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1544, allocations: 51.41 kB / 485.6 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.1548, allocations: 267.1 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1548, allocations: 25.7 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.1549, allocations: 112.1 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1549, allocations: 23.7 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.155, allocations: 29.72 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1552, allocations: 330.8 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.1553, allocations: 23.94 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.1553, allocations: 37.61 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1555, allocations: 61.7 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1555, allocations: 4 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002491/0.1558, allocations: 105.4 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1558, allocations: 6.5 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1558, allocations: 0 / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1558, allocations: 0 / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.1559, allocations: 16 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1559, allocations: 0 / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.156, allocations: 19.86 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.156, allocations: 0 / 486.7 MB, free: 15.05 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.0001431/0.1562, allocations: 141.8 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1562, allocations: 16.19 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.1563, allocations: 17.59 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1563, allocations: 0 / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1563, allocations: 7.922 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1563, allocations: 7.938 kB / 486.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.1569, allocations: 407.3 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1569, allocations: 4.031 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.1569, allocations: 8 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1569, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1569, allocations: 3.938 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.157, allocations: 4 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.157, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1573, allocations: 208.4 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.1573, allocations: 100.8 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1574, allocations: 7.938 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.1575, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1575, allocations: 7.984 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1575, allocations: 4 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.1578, allocations: 204.4 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.158, allocations: 23.98 kB / 487.8 MB, free: 13.79 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.001958/0.16, allocations: 464.3 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1602, allocations: 59.89 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1603, allocations: 4 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.1603, allocations: 32 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1608, allocations: 30.97 kB / 488.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.1615, allocations: 325.4 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.162, allocations: 0.7274 MB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.162, allocations: 15.44 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.162, allocations: 0 / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005341/0.1674, allocations: 2.108 MB / 491.6 MB, free: 10.14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches