Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.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) 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(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 94.92 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001134, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.2 MB / 245.9 MB, free: 12.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 8 kB / 306.6 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 51.49 MB / 358.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002491/0.147, allocations: 1.214 MB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.1498, allocations: 0.8426 MB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1499, allocations: 8 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.172e-05/0.15, allocations: 7.922 kB / 360.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.1501, allocations: 15.97 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1505, allocations: 39.89 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1507, allocations: 67.86 kB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1508, allocations: 15.98 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.1514, allocations: 287.4 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1516, allocations: 71.83 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.1517, allocations: 0 / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-05/0.1517, allocations: 4 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1519, allocations: 75.73 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.152, allocations: 65.58 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.1524, allocations: 275.4 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.1524, allocations: 0 / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1524, allocations: 3.938 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1525, allocations: 0 / 361 MB, free: 11.19 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001081/0.1536, allocations: 0.6608 MB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1536, allocations: 12.03 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1538, allocations: 39.53 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.1542, allocations: 257.3 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.1543, allocations: 11.95 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.1543, allocations: 8 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.1548, allocations: 117.6 kB / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1548, allocations: 0 / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.1549, allocations: 4 kB / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1549, allocations: 0 / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.1551, allocations: 63.94 kB / 362.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1562, allocations: 464.5 kB / 362.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1565, allocations: 90.55 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1565, allocations: 4 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.157, allocations: 214.2 kB / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.157, allocations: 0 / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001225/0.1582, allocations: 0.6076 MB / 363.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1583, allocations: 170.2 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.1593, allocations: 0.5129 MB / 364.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.1594, allocations: 33.7 kB / 364.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.1595, allocations: 97.08 kB / 364.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.1596, allocations: 39.56 kB / 364.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.1596, allocations: 4 kB / 364.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1598, allocations: 330.8 kB / 364.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.16, allocations: 55.97 kB / 364.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1602, allocations: 72.22 kB / 364.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1605, allocations: 162.8 kB / 365 MB, free: 6.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1605, allocations: 0 / 365 MB, free: 6.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000798/0.1613, allocations: 376.3 kB / 365.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1614, allocations: 126.8 kB / 365.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1615, allocations: 7.969 kB / 365.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1615, allocations: 128 / 365.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.207e-05/0.1615, allocations: 8 kB / 365.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1616, allocations: 0 / 365.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.1618, allocations: 11.91 kB / 365.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.1619, allocations: 47.98 kB / 365.6 MB, free: 6.227 MB / 302.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: 15 ($PRE.bUF3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005037/0.1624, allocations: 358.3 kB / 365.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.1625, allocations: 39.62 kB / 366 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1627, allocations: 67.14 kB / 366 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1627, allocations: 4 kB / 366 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1627, allocations: 0 / 366 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1627, allocations: 0 / 366 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1642, allocations: 0.8016 MB / 366.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1642, allocations: 112 / 366.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.1642, allocations: 3.938 kB / 366.8 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1642, allocations: 4 kB / 366.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.1643, allocations: 23.97 kB / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1643, allocations: 0 / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1643, allocations: 0 / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.1652, allocations: 0.5284 MB / 367.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/0.1657, allocations: 248.4 kB / 367.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.1658, allocations: 12 kB / 367.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.1661, allocations: 8 kB / 367.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.1662, allocations: 31.95 kB / 367.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.1663, allocations: 43.94 kB / 367.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007389/0.1671, allocations: 382.9 kB / 368.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1671, allocations: 0 / 368.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005246/0.1676, allocations: 43.94 kB / 368.2 MB, free: 3.473 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001911/0.1678, allocations: 123.1 kB / 368.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.1686, allocations: 437.5 kB / 368.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1686, allocations: 64 / 368.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.1691, allocations: 377.6 kB / 369.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.1699, allocations: 113.7 kB / 369.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1715, allocations: 0.7234 MB / 369.9 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.1721, allocations: 0.8141 MB / 370.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.1722, allocations: 8.656 kB / 370.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.1723, allocations: 15.38 kB / 370.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1723, allocations: 0 / 370.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of Templates: time 0.2251/0.3974, allocations: 3.742 MB / 374.5 MB, free: 19.61 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches