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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 113.1 kB / 16.51 MB, free: 6.66 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.001107/0.001107, allocations: 201 kB / 17.43 MB, free: 6.035 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 43.53 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09653, allocations: 49.44 MB / 349.5 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002997/0.09956, allocations: 1.575 MB / 351.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1016, allocations: 0.8733 MB / 351.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.1017, allocations: 0 / 351.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.672e-05/0.1018, allocations: 3.938 kB / 352 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.1019, allocations: 11.92 kB / 352 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1022, allocations: 51.89 kB / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1023, allocations: 111.7 kB / 352.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1025, allocations: 27.98 kB / 352.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.1029, allocations: 375.3 kB / 352.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.103, allocations: 63.75 kB / 352.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.1031, allocations: 4 kB / 352.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.1031, allocations: 4 kB / 352.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1032, allocations: 63.77 kB / 352.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1034, allocations: 111.1 kB / 352.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1037, allocations: 346.8 kB / 353.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1037, allocations: 0 / 353.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1037, allocations: 0 / 353.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1038, allocations: 0 / 353.1 MB, free: 1.145 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.0009459/0.1047, allocations: 0.723 MB / 353.8 MB, free: 356 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1048, allocations: 8.031 kB / 353.8 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.1048, allocations: 46.73 kB / 353.9 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/0.1049, allocations: 36.47 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1053, allocations: 274.4 kB / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.1053, allocations: 8.375 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.1053, allocations: 8.375 kB / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1057, allocations: 123.7 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1057, allocations: 3.938 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1057, allocations: 11.98 kB / 354.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1057, allocations: 3.938 kB / 354.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1059, allocations: 59.95 kB / 354.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.1067, allocations: 460.4 kB / 354.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1069, allocations: 98.53 kB / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1071, allocations: 84.89 kB / 355 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1071, allocations: 0 / 355 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.1075, allocations: 205.5 kB / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1075, allocations: 0 / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007944/0.1083, allocations: 464.1 kB / 355.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.1084, allocations: 162.2 kB / 355.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.1091, allocations: 0.5207 MB / 356.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.1091, allocations: 33.7 kB / 356.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.1092, allocations: 97.12 kB / 356.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.1092, allocations: 35.58 kB / 356.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.1094, allocations: 77.42 kB / 356.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1095, allocations: 326.8 kB / 356.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1096, allocations: 55.97 kB / 357 MB, free: 12.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1098, allocations: 77.06 kB / 357 MB, free: 12.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.1101, allocations: 342.9 kB / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1101, allocations: 0 / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005339/0.1106, allocations: 380.2 kB / 357.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/0.1107, allocations: 122.8 kB / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1107, allocations: 0 / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1108, allocations: 0 / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.152e-05/0.1108, allocations: 3.984 kB / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1108, allocations: 4 kB / 357.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.111, allocations: 12.03 kB / 357.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.111, allocations: 39.98 kB / 357.9 MB, free: 11.89 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.0003297/0.1114, allocations: 370.2 kB / 358.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.1114, allocations: 39.66 kB / 358.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1115, allocations: 67.14 kB / 358.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1116, allocations: 4.109 kB / 358.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1116, allocations: 3.938 kB / 358.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1116, allocations: 0 / 358.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.1126, allocations: 0.8095 MB / 359.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1126, allocations: 0 / 359.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.1126, allocations: 0 / 359.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1126, allocations: 0 / 359.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.1126, allocations: 15.98 kB / 359.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1126, allocations: 3.938 kB / 359.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1127, allocations: 7.875 kB / 359.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.1133, allocations: 0.5212 MB / 359.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.1137, allocations: 244.4 kB / 360 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.1137, allocations: 12 kB / 360 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1139, allocations: 11.94 kB / 360 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.114, allocations: 27.91 kB / 360 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.1141, allocations: 43.92 kB / 360.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004941/0.1146, allocations: 386.9 kB / 360.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1146, allocations: 0 / 360.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.1149, allocations: 48 kB / 360.5 MB, free: 9.117 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.001138/0.116, allocations: 1.088 MB / 361.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005482/0.1166, allocations: 437.5 kB / 362 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1166, allocations: 0 / 362 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.1169, allocations: 377.5 kB / 362.4 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.1176, allocations: 131.2 kB / 362.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.121, allocations: 2.78 MB / 365.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.1215, allocations: 0.8025 MB / 366.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.574e-05/0.1216, allocations: 8.656 kB / 366.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.1216, allocations: 27.42 kB / 366.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of SimCode: time 2.054e-06/0.1216, allocations: 0 / 366.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/0.2973, allocations: 5.346 MB / 371.5 MB, free: 25.65 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.2975, allocations: 193.1 kB / 371.7 MB, free: 25.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.143, allocations: 0 / 371.7 MB, free: 25.4 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > 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/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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches