Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 112 kB / 17.28 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.002251, allocations: 185.4 kB / 18.2 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.1 MB / 224 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 47.92 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 46.64 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00444/0.1424, allocations: 1.566 MB / 328.3 MB, free: 3.211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1449, allocations: 0.8867 MB / 329.2 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.1451, allocations: 0 / 329.2 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1453, allocations: 7.922 kB / 329.2 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1454, allocations: 15.86 kB / 329.3 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1458, allocations: 43.95 kB / 329.3 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1461, allocations: 151.7 kB / 329.4 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.1463, allocations: 19.98 kB / 329.5 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005874/0.1469, allocations: 387.3 kB / 329.8 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1471, allocations: 67.7 kB / 329.9 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.1472, allocations: 8 kB / 329.9 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.914e-05/0.1472, allocations: 12 kB / 329.9 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1473, allocations: 67.7 kB / 330 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1475, allocations: 119.2 kB / 330.1 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.1478, allocations: 346.7 kB / 330.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1478, allocations: 4 kB / 330.5 MB, free: 1.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1478, allocations: 0 / 330.5 MB, free: 1.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1478, allocations: 0 / 330.5 MB, free: 1.09 MB / 270.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.0009722/0.1488, allocations: 0.7152 MB / 331.2 MB, free: 308 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1489, allocations: 8.031 kB / 331.2 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.149, allocations: 44.45 kB / 331.2 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.1494, allocations: 274.5 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1494, allocations: 4.375 kB / 331.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.1494, allocations: 12.38 kB / 331.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.1498, allocations: 125.9 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1498, allocations: 7.938 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.1498, allocations: 3.984 kB / 331.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1499, allocations: 4 kB / 331.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.15, allocations: 55.97 kB / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.1508, allocations: 460.5 kB / 332.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.151, allocations: 94.55 kB / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1512, allocations: 80.89 kB / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1512, allocations: 0 / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/0.1518, allocations: 214.5 kB / 332.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.505e-06/0.1518, allocations: 0 / 332.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001004/0.1528, allocations: 460.6 kB / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.153, allocations: 174.1 kB / 333.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.1538, allocations: 0.5169 MB / 333.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1538, allocations: 29.7 kB / 333.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.154, allocations: 109 kB / 333.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.1541, allocations: 27.64 kB / 333.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.1543, allocations: 85.41 kB / 333.9 MB, free: 13.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1544, allocations: 326.8 kB / 334.2 MB, free: 13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1546, allocations: 55.97 kB / 334.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1547, allocations: 69.69 kB / 334.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.1551, allocations: 347.2 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1551, allocations: 0 / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007036/0.1558, allocations: 376.2 kB / 335.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.1559, allocations: 126.8 kB / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1559, allocations: 0 / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1559, allocations: 4 kB / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.156, allocations: 0 / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.156, allocations: 3.938 kB / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1562, allocations: 11.98 kB / 335.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.1563, allocations: 40 kB / 335.2 MB, free: 11.88 MB / 286.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,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004793/0.1568, allocations: 358.2 kB / 335.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.1569, allocations: 39.66 kB / 335.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1571, allocations: 67.14 kB / 335.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1571, allocations: 4 kB / 335.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1571, allocations: 0 / 335.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1571, allocations: 0 / 335.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1583, allocations: 0.8133 MB / 336.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1583, allocations: 0 / 336.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.1583, allocations: 4 kB / 336.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1583, allocations: 0 / 336.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.1583, allocations: 16 kB / 336.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1583, allocations: 0 / 336.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1584, allocations: 7.875 kB / 336.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.159, allocations: 0.5138 MB / 337.1 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.1594, allocations: 252.3 kB / 337.3 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.1594, allocations: 16 kB / 337.3 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1596, allocations: 11.98 kB / 337.3 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.1597, allocations: 27.91 kB / 337.4 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.1599, allocations: 47.94 kB / 337.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007198/0.1606, allocations: 390.9 kB / 337.8 MB, free: 9.152 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1606, allocations: 0 / 337.8 MB, free: 9.152 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.161, allocations: 44 kB / 337.8 MB, free: 9.109 MB / 286.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 (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.0001624/0.1611, allocations: 119 kB / 337.9 MB, free: 8.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008593/0.162, allocations: 437.5 kB / 338.4 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.162, allocations: 0 / 338.4 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.1624, allocations: 381.6 kB / 338.7 MB, free: 8.086 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.1631, allocations: 117.3 kB / 338.9 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1645, allocations: 0.7475 MB / 339.6 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.1651, allocations: 0.802 MB / 340.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1653, allocations: 12.64 kB / 340.4 MB, free: 6.352 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1653, allocations: 11.44 kB / 340.4 MB, free: 6.34 MB / 286.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1653, allocations: 0 / 340.4 MB, free: 6.34 MB / 286.1 MB Notification: Performance of Templates: time 0.009417/0.1747, allocations: 4.26 MB / 344.7 MB, free: 2.078 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches