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.001326/0.001326, allocations: 105.9 kB / 18.25 MB, free: 4.762 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.001391/0.001391, allocations: 195.6 kB / 19.19 MB, free: 3.832 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.426/1.426, allocations: 205.1 MB / 225 MB, free: 12.3 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.001429/0.001429, allocations: 55.92 kB / 281.3 MB, free: 3.199 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09164, allocations: 46.63 MB / 327.9 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003145/0.09483, allocations: 1.513 MB / 329.5 MB, free: 2.961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.09698, allocations: 0.8873 MB / 330.3 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.09711, allocations: 3.938 kB / 330.4 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.09728, allocations: 15.86 kB / 330.4 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.09739, allocations: 19.84 kB / 330.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.09772, allocations: 43.89 kB / 330.4 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.09797, allocations: 143.7 kB / 330.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.0981, allocations: 31.98 kB / 330.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.09859, allocations: 371.3 kB / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.09875, allocations: 63.72 kB / 331 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.09881, allocations: 12 kB / 331 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-05/0.09885, allocations: 8 kB / 331 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.09896, allocations: 67.69 kB / 331.1 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.09911, allocations: 119.2 kB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.09947, allocations: 342.8 kB / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09949, allocations: 8 kB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.0995, allocations: 0 / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.09952, allocations: 0 / 331.6 MB, free: 0.8398 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.0008952/0.1004, allocations: 0.7191 MB / 332.3 MB, free: 48 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1005, allocations: 8.031 kB / 332.3 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.1006, allocations: 40.55 kB / 332.3 MB, free: 16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1009, allocations: 278.3 kB / 332.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1009, allocations: 4.375 kB / 332.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.101, allocations: 8.375 kB / 332.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.1013, allocations: 133.9 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1013, allocations: 4 kB / 332.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.1014, allocations: 0 / 332.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1014, allocations: 4 kB / 332.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1015, allocations: 55.97 kB / 332.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.1022, allocations: 456.5 kB / 333.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1025, allocations: 98.55 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1026, allocations: 80.89 kB / 333.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1026, allocations: 3.984 kB / 333.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.103, allocations: 210.5 kB / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.103, allocations: 0 / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008098/0.1039, allocations: 460 kB / 334.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.104, allocations: 170.3 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.1047, allocations: 0.5245 MB / 334.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1047, allocations: 29.7 kB / 334.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.1048, allocations: 101.1 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.1048, allocations: 31.59 kB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.105, allocations: 77.41 kB / 335 MB, free: 13.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1051, allocations: 326.8 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1052, allocations: 59.97 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1054, allocations: 69.69 kB / 335.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.1057, allocations: 347.6 kB / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1057, allocations: 0 / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005473/0.1063, allocations: 380.3 kB / 336.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.1064, allocations: 122.8 kB / 336.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1064, allocations: 0 / 336.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1064, allocations: 8.031 kB / 336.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.486e-05/0.1065, allocations: 0 / 336.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1065, allocations: 0 / 336.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.1067, allocations: 15.98 kB / 336.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.1067, allocations: 40 kB / 336.4 MB, free: 11.63 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.0003576/0.1071, allocations: 362.2 kB / 336.7 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.1071, allocations: 35.62 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.1073, allocations: 63.16 kB / 336.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1073, allocations: 4 kB / 336.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1073, allocations: 7.984 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1073, allocations: 0 / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1083, allocations: 0.8055 MB / 337.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1083, allocations: 4.188 kB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.1084, allocations: 4 kB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1084, allocations: 0 / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1084, allocations: 15.94 kB / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1084, allocations: 0 / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1084, allocations: 3.938 kB / 337.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.1091, allocations: 0.5214 MB / 338.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.1094, allocations: 248.3 kB / 338.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.1095, allocations: 15.94 kB / 338.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1096, allocations: 11.98 kB / 338.4 MB, free: 9.359 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.1098, allocations: 27.91 kB / 338.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.1098, allocations: 43.94 kB / 338.5 MB, free: 9.289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004761/0.1103, allocations: 386.9 kB / 338.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1103, allocations: 4 kB / 338.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1107, allocations: 40 kB / 338.9 MB, free: 8.867 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.0001504/0.1108, allocations: 115 kB / 339 MB, free: 8.746 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005429/0.1114, allocations: 437.5 kB / 339.5 MB, free: 8.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1114, allocations: 0 / 339.5 MB, free: 8.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.1117, allocations: 377.6 kB / 339.8 MB, free: 7.852 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.1124, allocations: 125.5 kB / 340 MB, free: 7.727 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1136, allocations: 0.7061 MB / 340.7 MB, free: 6.988 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.1141, allocations: 0.802 MB / 341.5 MB, free: 6.156 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.1141, allocations: 15.42 kB / 341.5 MB, free: 6.141 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1141, allocations: 3.938 kB / 341.5 MB, free: 6.137 MB / 286.1 MB Notification: Performance of Templates: time 0.004868/0.119, allocations: 2.507 MB / 344 MB, free: 3.633 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/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