Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.2 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002921/0.1068, allocations: 1.532 MB / 360 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1088, allocations: 0.8825 MB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.1088, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.109, allocations: 15.86 kB / 360.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.1091, allocations: 11.86 kB / 360.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1093, allocations: 51.88 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1095, allocations: 151.7 kB / 361.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1096, allocations: 19.97 kB / 361.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004431/0.1101, allocations: 379.3 kB / 361.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1102, allocations: 59.77 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.1103, allocations: 12 kB / 361.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.1103, allocations: 8 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1104, allocations: 67.7 kB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1106, allocations: 111.2 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.111, allocations: 350.8 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.111, allocations: 4 kB / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.111, allocations: 0 / 362.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.111, allocations: 0 / 362.1 MB, free: 10.32 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.0008084/0.1118, allocations: 0.723 MB / 362.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1119, allocations: 8.031 kB / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.1119, allocations: 44.47 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1122, allocations: 270.3 kB / 363.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1123, allocations: 8.375 kB / 363.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.1123, allocations: 12.38 kB / 363.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1126, allocations: 133.8 kB / 363.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1126, allocations: 4 kB / 363.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.1127, allocations: 0 / 363.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1127, allocations: 4 kB / 363.3 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1128, allocations: 59.95 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.1135, allocations: 460.5 kB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1137, allocations: 98.48 kB / 363.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.1138, allocations: 84.89 kB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1139, allocations: 0 / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.1142, allocations: 198.7 kB / 364.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1142, allocations: 0 / 364.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008078/0.115, allocations: 468.1 kB / 364.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1152, allocations: 170.2 kB / 364.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.1158, allocations: 0.5129 MB / 365.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.1159, allocations: 33.7 kB / 365.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1159, allocations: 97.12 kB / 365.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.116, allocations: 31.64 kB / 365.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1161, allocations: 77.41 kB / 365.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1163, allocations: 334.7 kB / 365.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1164, allocations: 59.97 kB / 365.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1166, allocations: 73.62 kB / 366 MB, free: 6.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.1169, allocations: 335.3 kB / 366.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.117, allocations: 0 / 366.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005385/0.1175, allocations: 383.7 kB / 366.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.1176, allocations: 122.8 kB / 366.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1176, allocations: 4 kB / 366.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1176, allocations: 4.031 kB / 366.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.1177, allocations: 0 / 366.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1177, allocations: 0 / 366.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1178, allocations: 11.98 kB / 366.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.1179, allocations: 44.05 kB / 366.8 MB, free: 5.102 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.000377/0.1183, allocations: 362.2 kB / 367.2 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1183, allocations: 39.53 kB / 367.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1184, allocations: 63.16 kB / 367.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1184, allocations: 11.98 kB / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1184, allocations: 0 / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1184, allocations: 0 / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.1195, allocations: 0.8171 MB / 368.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1195, allocations: 4 kB / 368.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-06/0.1195, allocations: 0 / 368.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1195, allocations: 0 / 368.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.1195, allocations: 8 kB / 368.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1195, allocations: 0 / 368.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1196, allocations: 4.125 kB / 368.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.1202, allocations: 0.5253 MB / 368.7 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.1206, allocations: 244.4 kB / 368.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.1206, allocations: 12 kB / 368.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1207, allocations: 11.98 kB / 368.9 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.1209, allocations: 27.91 kB / 369 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.1209, allocations: 47.94 kB / 369 MB, free: 2.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004806/0.1214, allocations: 394.9 kB / 369.4 MB, free: 2.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1214, allocations: 0 / 369.4 MB, free: 2.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1217, allocations: 43.94 kB / 369.4 MB, free: 2.328 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.0001528/0.1218, allocations: 115 kB / 369.5 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005393/0.1224, allocations: 441.5 kB / 370 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1224, allocations: 0 / 370 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.1228, allocations: 373.6 kB / 370.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.1234, allocations: 126.2 kB / 370.5 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1245, allocations: 0.706 MB / 371.2 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1346/0.2591, allocations: 0.7963 MB / 372 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.2591, allocations: 18.3 kB / 372 MB, free: 19.99 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2592, allocations: 0 / 372 MB, free: 19.99 MB / 302.1 MB Notification: Performance of Templates: time 0.004903/0.2641, allocations: 2.5 MB / 374.5 MB, free: 19.87 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches