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.001063/0.001063, allocations: 105.1 kB / 16.51 MB, free: 6.719 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.001112/0.001112, allocations: 194.5 kB / 17.43 MB, free: 6.059 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 46.95 kB / 299.9 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09739, allocations: 49.45 MB / 349.4 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002764/0.1002, allocations: 1.567 MB / 351 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.102, allocations: 0.8771 MB / 351.8 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.102, allocations: 0 / 351.8 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.233e-05/0.1021, allocations: 3.984 kB / 351.8 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.1022, allocations: 11.88 kB / 351.9 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1024, allocations: 51.94 kB / 351.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1026, allocations: 115.7 kB / 352 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1027, allocations: 19.98 kB / 352 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.1031, allocations: 375.3 kB / 352.4 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1032, allocations: 75.62 kB / 352.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.1033, allocations: 4 kB / 352.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.1033, allocations: 4 kB / 352.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.1034, allocations: 67.75 kB / 352.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1035, allocations: 107.2 kB / 352.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.1039, allocations: 346.8 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1039, allocations: 0 / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1039, allocations: 0 / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.1039, allocations: 0 / 353 MB, free: 1.004 MB / 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.0007754/0.1047, allocations: 0.7191 MB / 353.7 MB, free: 216 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1048, allocations: 11.97 kB / 353.7 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1049, allocations: 44.47 kB / 353.8 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1052, allocations: 270.3 kB / 354 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1052, allocations: 12.38 kB / 354.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1052, allocations: 8.375 kB / 354.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.1055, allocations: 125.3 kB / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1055, allocations: 3.938 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1056, allocations: 4 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1056, allocations: 0 / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1057, allocations: 59.91 kB / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.1063, allocations: 468.5 kB / 354.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1065, allocations: 90.55 kB / 354.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1067, allocations: 88.83 kB / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.1067, allocations: 3.984 kB / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.1071, allocations: 198.7 kB / 355.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1071, allocations: 0 / 355.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007911/0.1079, allocations: 456 kB / 355.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.108, allocations: 174.1 kB / 355.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.1086, allocations: 0.5129 MB / 356.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1086, allocations: 33.7 kB / 356.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1087, allocations: 97.12 kB / 356.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.1087, allocations: 31.64 kB / 356.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1088, allocations: 85.41 kB / 356.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1089, allocations: 326.8 kB / 356.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1091, allocations: 55.97 kB / 356.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1092, allocations: 69.69 kB / 356.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.1095, allocations: 339.2 kB / 357.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1096, allocations: 0 / 357.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004928/0.1101, allocations: 388.3 kB / 357.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.1101, allocations: 126.8 kB / 357.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1102, allocations: 112 / 357.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1102, allocations: 3.938 kB / 357.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.012e-05/0.1102, allocations: 0 / 357.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1102, allocations: 4 kB / 357.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1104, allocations: 11.98 kB / 357.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.1104, allocations: 36 kB / 357.8 MB, free: 11.8 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.0003119/0.1107, allocations: 366.2 kB / 358.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.1108, allocations: 43.53 kB / 358.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.423e-05/0.1109, allocations: 67.14 kB / 358.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1109, allocations: 0 / 358.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1109, allocations: 0 / 358.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1109, allocations: 3.984 kB / 358.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.1119, allocations: 0.8128 MB / 359.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1119, allocations: 4.062 kB / 359.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.1119, allocations: 0 / 359.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1119, allocations: 0 / 359.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.1119, allocations: 12 kB / 359.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1119, allocations: 7.984 kB / 359.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.112, allocations: 7.875 kB / 359.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.1126, allocations: 0.5212 MB / 359.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.1129, allocations: 240.4 kB / 359.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.1129, allocations: 11.98 kB / 359.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1131, allocations: 11.94 kB / 359.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.1132, allocations: 35.89 kB / 359.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.1132, allocations: 43.94 kB / 360 MB, free: 9.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.1136, allocations: 390.9 kB / 360.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1136, allocations: 0 / 360.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1139, allocations: 47.94 kB / 360.4 MB, free: 9.023 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.0001321/0.1141, allocations: 119 kB / 360.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.1146, allocations: 429.5 kB / 360.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1146, allocations: 0 / 360.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.1149, allocations: 389.5 kB / 361.3 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.1155, allocations: 106.9 kB / 361.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1165, allocations: 0.7533 MB / 362.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.117, allocations: 0.7986 MB / 363 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.371e-05/0.117, allocations: 8.656 kB / 363 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.117, allocations: 11.44 kB / 363 MB, free: 6.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1171, allocations: 0 / 363 MB, free: 6.27 MB / 302.1 MB Notification: Performance of Templates: time 0.006639/0.1237, allocations: 4.095 MB / 367.1 MB, free: 2.211 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