Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.59 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.0971, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002791/0.09994, allocations: 1.521 MB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1018, allocations: 0.8826 MB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.1019, allocations: 0 / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.102, allocations: 19.8 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.1021, allocations: 19.84 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1023, allocations: 43.89 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1025, allocations: 147.7 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1026, allocations: 31.97 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.103, allocations: 371.3 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1031, allocations: 63.77 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.1032, allocations: 8 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-05/0.1032, allocations: 12 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.1033, allocations: 71.62 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1034, allocations: 111.2 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.1037, allocations: 354.7 kB / 362.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1037, allocations: 0 / 362.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1038, allocations: 4 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1038, allocations: 0 / 362.5 MB, free: 9.691 MB / 302.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.0007182/0.1045, allocations: 0.7188 MB / 363.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1045, allocations: 8.031 kB / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.1046, allocations: 40.47 kB / 363.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1049, allocations: 278.3 kB / 363.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1049, allocations: 4.375 kB / 363.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.105, allocations: 12.38 kB / 363.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.1053, allocations: 125.9 kB / 363.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1053, allocations: 4 kB / 363.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1053, allocations: 4 kB / 363.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1053, allocations: 0 / 363.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1055, allocations: 55.97 kB / 363.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.1062, allocations: 460.4 kB / 364.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1063, allocations: 98.53 kB / 364.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1065, allocations: 84.89 kB / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1065, allocations: 0 / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.1068, allocations: 202.6 kB / 364.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1069, allocations: 0 / 364.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007809/0.1076, allocations: 463.1 kB / 365.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.1077, allocations: 166.2 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.1084, allocations: 0.5246 MB / 365.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1084, allocations: 33.7 kB / 365.8 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.1085, allocations: 105.1 kB / 365.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.1085, allocations: 27.66 kB / 365.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.1086, allocations: 77.42 kB / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1088, allocations: 322.8 kB / 366.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1089, allocations: 64.03 kB / 366.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.109, allocations: 69.67 kB / 366.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.1094, allocations: 351.2 kB / 366.8 MB, free: 5.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1094, allocations: 112 / 366.8 MB, free: 5.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004904/0.1099, allocations: 380.3 kB / 367.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/0.11, allocations: 126.8 kB / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.11, allocations: 0 / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.11, allocations: 0 / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-05/0.11, allocations: 4 kB / 367.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1101, allocations: 7.938 kB / 367.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1102, allocations: 16.02 kB / 367.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.1103, allocations: 36 kB / 367.3 MB, free: 4.477 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.0003882/0.1107, allocations: 367.3 kB / 367.7 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.1107, allocations: 39.53 kB / 367.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1108, allocations: 63.16 kB / 367.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1108, allocations: 0 / 367.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1109, allocations: 0 / 367.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1109, allocations: 0 / 367.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/0.1118, allocations: 0.8133 MB / 368.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1119, allocations: 3.938 kB / 368.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.1119, allocations: 0 / 368.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.1119, allocations: 3.984 kB / 368.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.1119, allocations: 12 kB / 368.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1119, allocations: 4 kB / 368.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1119, allocations: 3.938 kB / 368.6 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.1126, allocations: 0.521 MB / 369.1 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.1129, allocations: 240.4 kB / 369.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.1129, allocations: 16 kB / 369.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1131, allocations: 12.17 kB / 369.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.1132, allocations: 27.92 kB / 369.4 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.1132, allocations: 47.92 kB / 369.5 MB, free: 2.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004511/0.1137, allocations: 386.9 kB / 369.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1137, allocations: 0 / 369.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.114, allocations: 43.94 kB / 369.9 MB, free: 1.719 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.0001594/0.1141, allocations: 126.9 kB / 370 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005099/0.1147, allocations: 433.5 kB / 370.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1147, allocations: 0 / 370.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.115, allocations: 373.6 kB / 370.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.1156, allocations: 130.2 kB / 370.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1454/0.261, allocations: 0.6446 MB / 371.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2613, allocations: 0.8033 MB / 372.4 MB, free: 20.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.171e-05/0.2614, allocations: 5.547 kB / 372.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.2614, allocations: 19.41 kB / 372.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2615, allocations: 0.5938 kB / 372.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of Templates: time 0.008056/0.2695, allocations: 4.387 MB / 376.8 MB, free: 20.28 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches