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.001446/0.001446, allocations: 115 kB / 17.94 MB, free: 5.672 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.001713/0.001713, allocations: 193.3 kB / 18.86 MB, free: 4.754 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.573/1.573, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001387/0.001387, allocations: 47.92 kB / 280.8 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 46.63 MB / 327.4 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003528/0.1113, allocations: 1.575 MB / 329 MB, free: 3.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1134, allocations: 0.878 MB / 329.9 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.1135, allocations: 0 / 329.9 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1137, allocations: 7.938 kB / 329.9 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.1138, allocations: 19.92 kB / 329.9 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1141, allocations: 47.89 kB / 330 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.1144, allocations: 143.7 kB / 330.1 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1145, allocations: 24 kB / 330.1 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004619/0.115, allocations: 379.3 kB / 330.5 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1152, allocations: 79.67 kB / 330.6 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.1152, allocations: 12 kB / 330.6 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.1152, allocations: 8 kB / 330.6 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/0.1153, allocations: 67.7 kB / 330.7 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.1155, allocations: 115.1 kB / 330.8 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1158, allocations: 287.4 kB / 331 MB, free: 1.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1158, allocations: 0 / 331 MB, free: 1.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1158, allocations: 0 / 331 MB, free: 1.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.1158, allocations: 0 / 331 MB, free: 1.16 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.0008907/0.1167, allocations: 0.7269 MB / 331.8 MB, free: 368 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1167, allocations: 8.031 kB / 331.8 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.1168, allocations: 40.47 kB / 331.8 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1172, allocations: 270.3 kB / 332.1 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1172, allocations: 8.312 kB / 332.1 MB, free: 0 / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.1173, allocations: 8.422 kB / 332.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1176, allocations: 125.9 kB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1176, allocations: 0 / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.1177, allocations: 8 kB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1177, allocations: 0 / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1178, allocations: 63.91 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.1185, allocations: 452.6 kB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1188, allocations: 98.47 kB / 332.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1189, allocations: 96.81 kB / 332.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1189, allocations: 4 kB / 332.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.1194, allocations: 198.6 kB / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.1194, allocations: 0 / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000816/0.1202, allocations: 468.1 kB / 333.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1203, allocations: 170.2 kB / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.121, allocations: 0.5168 MB / 334.3 MB, free: 13.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.121, allocations: 29.7 kB / 334.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1211, allocations: 101.1 kB / 334.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1212, allocations: 23.66 kB / 334.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.1213, allocations: 85.41 kB / 334.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1215, allocations: 326.8 kB / 334.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1217, allocations: 55.97 kB / 334.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1218, allocations: 69.69 kB / 334.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.1222, allocations: 347.2 kB / 335.3 MB, free: 12.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1222, allocations: 0 / 335.3 MB, free: 12.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005601/0.1227, allocations: 376.2 kB / 335.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1229, allocations: 122.8 kB / 335.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1229, allocations: 0 / 335.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1229, allocations: 4 kB / 335.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-05/0.1229, allocations: 0 / 335.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1229, allocations: 0 / 335.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1231, allocations: 11.98 kB / 335.8 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.1232, allocations: 56.02 kB / 335.8 MB, free: 11.95 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.0003756/0.1236, allocations: 366.2 kB / 336.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.1237, allocations: 35.62 kB / 336.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1238, allocations: 63.14 kB / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1238, allocations: 4 kB / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1238, allocations: 0 / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1238, allocations: 0 / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1249, allocations: 0.8133 MB / 337.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1249, allocations: 4 kB / 337.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-06/0.125, allocations: 4 kB / 337.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.125, allocations: 0 / 337.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.125, allocations: 11.98 kB / 337.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.125, allocations: 0 / 337.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1251, allocations: 4.125 kB / 337.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.1258, allocations: 0.5178 MB / 337.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.1262, allocations: 248.4 kB / 337.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.1262, allocations: 19.98 kB / 337.9 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1264, allocations: 12 kB / 337.9 MB, free: 9.676 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.1266, allocations: 27.91 kB / 338 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/0.1267, allocations: 43.94 kB / 338 MB, free: 9.605 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005976/0.1273, allocations: 390.9 kB / 338.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1273, allocations: 0 / 338.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.1276, allocations: 40 kB / 338.4 MB, free: 9.188 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.0002049/0.1278, allocations: 111 kB / 338.5 MB, free: 9.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006021/0.1284, allocations: 453.5 kB / 339 MB, free: 8.578 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1284, allocations: 0 / 339 MB, free: 8.578 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.1288, allocations: 373.6 kB / 339.3 MB, free: 8.164 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.1295, allocations: 132.5 kB / 339.5 MB, free: 8.035 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.131, allocations: 0.7922 MB / 340.3 MB, free: 7.211 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.1315, allocations: 0.798 MB / 341.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.1316, allocations: 19.44 kB / 341.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of SimCode: time 2.164e-06/0.1316, allocations: 0 / 341.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of Templates: time 0.005821/0.1374, allocations: 2.508 MB / 343.6 MB, free: 3.859 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","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches