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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.00154, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.7 kB / 306.6 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 50.53 MB / 357.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003147/0.1155, allocations: 1.588 MB / 358.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1175, allocations: 0.8733 MB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.1176, allocations: 0 / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1177, allocations: 7.922 kB / 359.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.206e-05/0.1178, allocations: 19.91 kB / 359.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1181, allocations: 47.89 kB / 359.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1183, allocations: 143.8 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1185, allocations: 23.97 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004487/0.1189, allocations: 387.2 kB / 360.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1191, allocations: 67.75 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.1191, allocations: 12 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.1192, allocations: 8 kB / 360.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.1193, allocations: 67.7 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1194, allocations: 119.1 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.1197, allocations: 346.8 kB / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1198, allocations: 0 / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1198, allocations: 0 / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1198, allocations: 0 / 360.8 MB, free: 10.63 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.000875/0.1207, allocations: 0.723 MB / 361.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1207, allocations: 8.031 kB / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.1208, allocations: 46.67 kB / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.1209, allocations: 40.47 kB / 361.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1212, allocations: 274.3 kB / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1213, allocations: 4.375 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1213, allocations: 12.38 kB / 361.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.1216, allocations: 125.7 kB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1217, allocations: 0 / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1217, allocations: 8 kB / 362 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1217, allocations: 0 / 362 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1219, allocations: 59.95 kB / 362.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.1226, allocations: 456.4 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1228, allocations: 94.55 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.123, allocations: 92.81 kB / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.123, allocations: 0 / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.1233, allocations: 194.7 kB / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1233, allocations: 4 kB / 362.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007603/0.1241, allocations: 463.9 kB / 363.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.1242, allocations: 170.2 kB / 363.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.1248, allocations: 0.5207 MB / 364 MB, free: 7.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1248, allocations: 29.7 kB / 364.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.1249, allocations: 101.1 kB / 364.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.1249, allocations: 31.64 kB / 364.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.1251, allocations: 85.27 kB / 364.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1252, allocations: 322.8 kB / 364.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1253, allocations: 55.97 kB / 364.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1255, allocations: 73.69 kB / 364.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.1258, allocations: 343.3 kB / 365 MB, free: 5.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1258, allocations: 0 / 365 MB, free: 5.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005352/0.1264, allocations: 376.4 kB / 365.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/0.1265, allocations: 122.8 kB / 365.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1265, allocations: 0 / 365.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1265, allocations: 0 / 365.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.557e-05/0.1265, allocations: 4.094 kB / 365.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1265, allocations: 7.938 kB / 365.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1267, allocations: 16.03 kB / 365.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.1268, allocations: 36.08 kB / 365.6 MB, free: 5.379 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.0003557/0.1271, allocations: 378 kB / 366 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.1272, allocations: 43.52 kB / 366 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.517e-05/0.1273, allocations: 63.16 kB / 366.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1273, allocations: 0 / 366.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1273, allocations: 0 / 366.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1273, allocations: 3.984 kB / 366.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.1283, allocations: 0.8133 MB / 366.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1283, allocations: 0 / 366.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.1283, allocations: 0 / 366.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1283, allocations: 0 / 366.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.1284, allocations: 19.98 kB / 366.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1284, allocations: 0 / 366.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1284, allocations: 3.938 kB / 366.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.129, allocations: 0.5212 MB / 367.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.1293, allocations: 244.5 kB / 367.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.1294, allocations: 8 kB / 367.7 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1296, allocations: 15.94 kB / 367.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1297, allocations: 27.91 kB / 367.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.1297, allocations: 43.88 kB / 367.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.1302, allocations: 390.9 kB / 368.1 MB, free: 2.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1302, allocations: 0 / 368.1 MB, free: 2.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1305, allocations: 44 kB / 368.2 MB, free: 2.598 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.001028/0.1315, allocations: 1.097 MB / 369.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.1321, allocations: 429.5 kB / 369.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1321, allocations: 0 / 369.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.1324, allocations: 381.5 kB / 370.1 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.133, allocations: 127.2 kB / 370.2 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2004/0.3334, allocations: 2.785 MB / 373 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3338, allocations: 0.8038 MB / 373.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.3339, allocations: 9.844 kB / 373.8 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.334, allocations: 30.47 kB / 373.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of SimCode: time 1.172e-06/0.334, allocations: 0 / 373.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.3529, allocations: 5.536 MB / 379.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.3531, allocations: 205.3 kB / 379.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.268, allocations: 0 / 379.6 MB, free: 17.78 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S.fmu > 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