Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001231, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 207 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.7 MB / 246.8 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003063, allocations: 16 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 63.55 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002712/0.1582, allocations: 1.646 MB / 484.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.16, allocations: 1.021 MB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1601, allocations: 7.938 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1605, allocations: 39.83 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1608, allocations: 83.67 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.161, allocations: 71.86 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1612, allocations: 143.5 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1613, allocations: 37.47 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.1614, allocations: 43.78 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1616, allocations: 47.66 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1616, allocations: 4 kB / 486.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1617, allocations: 47.92 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.1618, allocations: 23.91 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.1619, allocations: 69.38 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1621, allocations: 151.7 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1621, allocations: 0 / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1621, allocations: 0 / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1621, allocations: 0 / 486.5 MB, free: 0.6797 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006268/0.1627, allocations: 456.6 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1628, allocations: 12.88 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.1629, allocations: 12.84 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1631, allocations: 232.7 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1632, allocations: 8.375 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1632, allocations: 8.125 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1635, allocations: 112.2 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1635, allocations: 3.938 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1635, allocations: 4 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1635, allocations: 4 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1637, allocations: 51.97 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.1644, allocations: 0.5203 MB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.1647, allocations: 86.59 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1648, allocations: 44.84 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1649, allocations: 0 / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.1651, allocations: 83.38 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.1651, allocations: 0 / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004307/0.1655, allocations: 153.8 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1656, allocations: 55.34 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1658, allocations: 202.2 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1658, allocations: 29.64 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.1659, allocations: 116 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1659, allocations: 27.64 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.166, allocations: 17.72 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1661, allocations: 330.8 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.1662, allocations: 35.92 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1663, allocations: 67.64 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1665, allocations: 96.22 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1665, allocations: 4 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002863/0.1668, allocations: 145.4 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1668, allocations: 4 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1668, allocations: 0 / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1669, allocations: 4 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.167, allocations: 31.86 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.167, allocations: 0 / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.1671, allocations: 23.83 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1671, allocations: 4 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001084/0.1672, allocations: 128.2 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1672, allocations: 15.81 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1673, allocations: 17.39 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1673, allocations: 3.938 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1673, allocations: 0 / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1673, allocations: 3.984 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1675, allocations: 221.5 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1675, allocations: 0 / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.1676, allocations: 11.98 kB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1676, allocations: 4.094 kB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1676, allocations: 15.94 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1676, allocations: 3.938 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1676, allocations: 0 / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.168, allocations: 188.8 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1681, allocations: 96.95 kB / 490.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1681, allocations: 4 kB / 490.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1682, allocations: 15.92 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1682, allocations: 3.984 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1682, allocations: 4 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1683, allocations: 148.4 kB / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1684, allocations: 0 / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1686, allocations: 24 kB / 490.3 MB, free: 12.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009178/0.1695, allocations: 403.3 kB / 490.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1698, allocations: 79.89 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1698, allocations: 3.938 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.1699, allocations: 39.92 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.1702, allocations: 43.59 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.1707, allocations: 308.3 kB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.171, allocations: 0.7165 MB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.751e-05/0.1711, allocations: 17.42 kB / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1711, allocations: 19.44 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1711, allocations: 0 / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Templates: time 0.004634/0.1757, allocations: 1.773 MB / 493.7 MB, free: 9.191 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches