Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_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.0008275/0.0008276, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0008247/0.0008246, allocations: 175.5 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 7.938 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 50.42 MB / 351.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.0021/0.1144, allocations: 1.231 MB / 353.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1168, allocations: 0.8662 MB / 353.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.1169, allocations: 0 / 353.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.117, allocations: 11.92 kB / 353.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.1171, allocations: 15.92 kB / 354 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1175, allocations: 47.89 kB / 354 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1177, allocations: 111.7 kB / 354.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1178, allocations: 19.98 kB / 354.1 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.1183, allocations: 371.3 kB / 354.5 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1185, allocations: 67.75 kB / 354.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.1186, allocations: 0 / 354.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.1186, allocations: 4 kB / 354.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1187, allocations: 63.77 kB / 354.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.1189, allocations: 132.8 kB / 354.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1193, allocations: 334.7 kB / 355.1 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1194, allocations: 0 / 355.1 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1194, allocations: 0 / 355.1 MB, free: 444 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1194, allocations: 0 / 355.1 MB, free: 444 kB / 286.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.0009248/0.1203, allocations: 0.6609 MB / 355.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.1204, allocations: 16.03 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1205, allocations: 36.47 kB / 355.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1208, allocations: 274.3 kB / 356.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.1209, allocations: 4.375 kB / 356.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.1209, allocations: 12.31 kB / 356.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.1213, allocations: 129.9 kB / 356.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1213, allocations: 0 / 356.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1213, allocations: 11.98 kB / 356.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1213, allocations: 4 kB / 356.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1215, allocations: 55.97 kB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.1224, allocations: 468.4 kB / 356.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1226, allocations: 90.55 kB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.1228, allocations: 80.89 kB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1229, allocations: 4 kB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/0.1232, allocations: 206.1 kB / 357.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1232, allocations: 0 / 357.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008623/0.1241, allocations: 459.9 kB / 357.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.1242, allocations: 162.2 kB / 357.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008022/0.125, allocations: 0.5207 MB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.1251, allocations: 29.7 kB / 358.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.1252, allocations: 97.14 kB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.1252, allocations: 39.56 kB / 358.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.1253, allocations: 29.7 kB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1255, allocations: 326.8 kB / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1256, allocations: 55.91 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1257, allocations: 73.69 kB / 358.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.1261, allocations: 335.3 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1261, allocations: 4 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005545/0.1267, allocations: 380.3 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/0.1268, allocations: 126.8 kB / 359.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1268, allocations: 0 / 359.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1268, allocations: 4 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.1269, allocations: 0 / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1269, allocations: 0 / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1271, allocations: 15.98 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.1271, allocations: 39.98 kB / 359.8 MB, free: 11.34 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,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.0003493/0.1275, allocations: 374.2 kB / 360.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1276, allocations: 39.62 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1277, allocations: 59.16 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1277, allocations: 0 / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1277, allocations: 4.109 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1277, allocations: 4.109 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1287, allocations: 0.8168 MB / 361 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1288, allocations: 0 / 361 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-06/0.1288, allocations: 4 kB / 361 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1288, allocations: 0 / 361 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1288, allocations: 8 kB / 361.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1288, allocations: 4 kB / 361.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1288, allocations: 7.922 kB / 361.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.1295, allocations: 0.529 MB / 361.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.1299, allocations: 240.4 kB / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.13, allocations: 8 kB / 361.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1301, allocations: 19.98 kB / 361.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.1303, allocations: 27.91 kB / 361.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.1303, allocations: 39.94 kB / 361.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005264/0.1309, allocations: 390.9 kB / 362.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1309, allocations: 0 / 362.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.1312, allocations: 51.92 kB / 362.4 MB, free: 8.559 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 (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.0001494/0.1314, allocations: 115 kB / 362.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.1319, allocations: 441.5 kB / 362.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.132, allocations: 0 / 362.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.1323, allocations: 369.6 kB / 363.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.133, allocations: 108.6 kB / 363.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1343, allocations: 0.7545 MB / 364.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1348, allocations: 0.8179 MB / 364.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.1349, allocations: 12.64 kB / 364.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.1349, allocations: 11.44 kB / 365 MB, free: 5.789 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1349, allocations: 4 kB / 365 MB, free: 5.785 MB / 302.1 MB Notification: Performance of Templates: time 0.008147/0.1431, allocations: 3.829 MB / 368.8 MB, free: 1.996 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches