Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001587/0.001587, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 77.78 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1479, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003439/0.1514, allocations: 1.73 MB / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1531, allocations: 1.025 MB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.1532, allocations: 7.938 kB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1535, allocations: 39.78 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1538, allocations: 95.59 kB / 484.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.154, allocations: 83.66 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1541, allocations: 95.75 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1543, allocations: 12 kB / 484.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.1543, allocations: 47.77 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.1544, allocations: 35.73 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1545, allocations: 4 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1546, allocations: 47.97 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1546, allocations: 19.92 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.1547, allocations: 31.75 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1549, allocations: 123.6 kB / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1549, allocations: 3.984 kB / 484.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1549, allocations: 0 / 484.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1549, allocations: 0 / 484.9 MB, free: 1.121 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.0005452/0.1555, allocations: 426.9 kB / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1555, allocations: 12.03 kB / 485.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1556, allocations: 8.844 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1558, allocations: 220 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1558, allocations: 4.375 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.1559, allocations: 8.125 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.156, allocations: 53.67 kB / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1561, allocations: 0 / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1561, allocations: 7.938 kB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1561, allocations: 4 kB / 485.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.1562, allocations: 19.92 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1566, allocations: 288.8 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1568, allocations: 58.67 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.1568, allocations: 20.86 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1568, allocations: 3.984 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.157, allocations: 71.33 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.157, allocations: 0 / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005104/0.1575, allocations: 177.4 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1576, allocations: 55.39 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1578, allocations: 210.4 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1578, allocations: 25.7 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.1578, allocations: 104.1 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1579, allocations: 19.72 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1579, allocations: 25.7 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.158, allocations: 326.8 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.1581, allocations: 28.05 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.1582, allocations: 33.72 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1583, allocations: 65.64 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1583, allocations: 0 / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001678/0.1585, allocations: 97.48 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1585, allocations: 8 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1585, allocations: 0 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1585, allocations: 0 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.1586, allocations: 15.94 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1586, allocations: 4.031 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1587, allocations: 15.92 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.1587, allocations: 4 kB / 487.2 MB, free: 14.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 9.647e-05/0.1588, allocations: 121.8 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1588, allocations: 15.89 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1589, allocations: 17.41 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1589, allocations: 0 / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1589, allocations: 4 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1589, allocations: 3.938 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.1593, allocations: 403.2 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1593, allocations: 192 / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.1594, allocations: 8 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1594, allocations: 11.81 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1594, allocations: 3.938 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1594, allocations: 4 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1594, allocations: 0 / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1596, allocations: 208.5 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1597, allocations: 88.92 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1597, allocations: 3.938 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1598, allocations: 4 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1599, allocations: 11.98 kB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1599, allocations: 0 / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.16, allocations: 160.8 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.16, allocations: 4 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1603, allocations: 27.98 kB / 488.3 MB, free: 13.32 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.001057/0.1613, allocations: 469.5 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1615, allocations: 55.98 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1615, allocations: 0 / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.1616, allocations: 31.92 kB / 488.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1619, allocations: 27.97 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.1624, allocations: 234.9 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1627, allocations: 0.712 MB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.1628, allocations: 21.11 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1628, allocations: 19.44 kB / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1628, allocations: 0 / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004533/0.1673, allocations: 1.717 MB / 491.6 MB, free: 10.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches