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.001188/0.001188, allocations: 104.4 kB / 18.35 MB, free: 4.633 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.001121/0.001121, allocations: 191 kB / 19.29 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001444/0.001444, allocations: 43.94 kB / 282.1 MB, free: 2.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 46.63 MB / 328.7 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003261/0.1228, allocations: 1.505 MB / 330.2 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.125, allocations: 0.8975 MB / 331.1 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.1251, allocations: 3.938 kB / 331.1 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1253, allocations: 3.938 kB / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1254, allocations: 15.86 kB / 331.2 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1257, allocations: 51.88 kB / 331.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.126, allocations: 155.7 kB / 331.4 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1262, allocations: 23.98 kB / 331.4 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.1268, allocations: 375.3 kB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.127, allocations: 59.77 kB / 331.8 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.127, allocations: 12 kB / 331.8 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-05/0.127, allocations: 8 kB / 331.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1272, allocations: 71.69 kB / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1273, allocations: 119.1 kB / 332 MB, free: 492 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.1278, allocations: 358.7 kB / 332.4 MB, free: 132 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1278, allocations: 0 / 332.4 MB, free: 132 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1278, allocations: 0 / 332.4 MB, free: 132 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1278, allocations: 0 / 332.4 MB, free: 132 kB / 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.001017/0.1288, allocations: 0.7227 MB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001369/0.129, allocations: 8.031 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.1291, allocations: 44.41 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1294, allocations: 270.3 kB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.1295, allocations: 12.38 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1295, allocations: 8.375 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1299, allocations: 129.9 kB / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1299, allocations: 0 / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1299, allocations: 4 kB / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1299, allocations: 0 / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1301, allocations: 55.97 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008513/0.1309, allocations: 460.5 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1311, allocations: 94.55 kB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1313, allocations: 84.89 kB / 334.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.1313, allocations: 0 / 334.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.1317, allocations: 206.5 kB / 334.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1318, allocations: 0 / 334.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007866/0.1325, allocations: 460.1 kB / 334.9 MB, free: 13.37 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.1327, allocations: 174.2 kB / 335.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.1333, allocations: 0.5168 MB / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1333, allocations: 29.7 kB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.1334, allocations: 101.9 kB / 335.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1335, allocations: 27.66 kB / 335.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1336, allocations: 81.41 kB / 335.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1337, allocations: 326.8 kB / 336.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1338, allocations: 55.97 kB / 336.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.134, allocations: 78.66 kB / 336.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.1343, allocations: 343.6 kB / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1343, allocations: 0 / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005113/0.1348, allocations: 376.2 kB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.1349, allocations: 122.8 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1349, allocations: 4.125 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.135, allocations: 4 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.135, allocations: 7.969 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.135, allocations: 112 / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.1352, allocations: 15.92 kB / 337.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.1352, allocations: 40 kB / 337.1 MB, free: 10.92 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.0003543/0.1356, allocations: 366.2 kB / 337.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1356, allocations: 35.62 kB / 337.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1358, allocations: 63.16 kB / 337.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1358, allocations: 4 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1358, allocations: 3.984 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1358, allocations: 7.984 kB / 337.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000986/0.1368, allocations: 0.8094 MB / 338.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1368, allocations: 3.984 kB / 338.4 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-06/0.1368, allocations: 4 kB / 338.4 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1368, allocations: 0 / 338.4 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.1369, allocations: 8 kB / 338.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1369, allocations: 0 / 338.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1369, allocations: 3.938 kB / 338.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.1375, allocations: 0.5214 MB / 339 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.1378, allocations: 244.3 kB / 339.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.1379, allocations: 12 kB / 339.2 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.138, allocations: 15.98 kB / 339.2 MB, free: 8.652 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1381, allocations: 19.92 kB / 339.3 MB, free: 8.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.1382, allocations: 55.91 kB / 339.3 MB, free: 8.578 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004544/0.1386, allocations: 386.9 kB / 339.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1386, allocations: 0 / 339.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1389, allocations: 44 kB / 339.7 MB, free: 8.156 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.0001529/0.1391, allocations: 127 kB / 339.9 MB, free: 8.023 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.1396, allocations: 433.5 kB / 340.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1396, allocations: 0 / 340.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.1399, allocations: 373.5 kB / 340.6 MB, free: 7.137 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.1405, allocations: 118.3 kB / 340.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1416, allocations: 0.6499 MB / 341.4 MB, free: 6.344 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.142, allocations: 0.7982 MB / 342.2 MB, free: 5.516 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.1421, allocations: 8.656 kB / 342.2 MB, free: 5.504 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.1421, allocations: 19.44 kB / 342.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1421, allocations: 0 / 342.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of Templates: time 0.007257/0.1494, allocations: 4.381 MB / 346.6 MB, free: 1.109 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches