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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_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.0009562/0.0009562, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001042/0.001042, allocations: 198 kB / 18.07 MB, free: 5.434 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001251/0.001251, allocations: 51.94 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.097, allocations: 46.62 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003032/0.1001, allocations: 1.57 MB / 328.3 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.102, allocations: 0.914 MB / 329.2 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.1021, allocations: 0 / 329.2 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1023, allocations: 11.92 kB / 329.2 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.795e-05/0.1024, allocations: 11.92 kB / 329.2 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1027, allocations: 51.89 kB / 329.3 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1029, allocations: 107.8 kB / 329.4 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.103, allocations: 27.98 kB / 329.4 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.1035, allocations: 379.2 kB / 329.8 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1036, allocations: 59.75 kB / 329.8 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.1037, allocations: 4 kB / 329.8 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.1037, allocations: 11.94 kB / 329.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-05/0.1038, allocations: 63.75 kB / 329.9 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.104, allocations: 107.1 kB / 330 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1043, allocations: 354.8 kB / 330.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1043, allocations: 0 / 330.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1043, allocations: 4 kB / 330.3 MB, free: 1.125 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1043, allocations: 0 / 330.3 MB, free: 1.125 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.0008977/0.1052, allocations: 0.7113 MB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1053, allocations: 12.03 kB / 331.1 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.1054, allocations: 38.75 kB / 331.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.1054, allocations: 40.47 kB / 331.1 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1058, allocations: 270.3 kB / 331.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1058, allocations: 4.375 kB / 331.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1058, allocations: 12.38 kB / 331.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.1061, allocations: 133.7 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1062, allocations: 0 / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1062, allocations: 8 kB / 331.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1062, allocations: 0 / 331.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1063, allocations: 55.97 kB / 331.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.107, allocations: 472.4 kB / 332.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1072, allocations: 90.55 kB / 332.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1073, allocations: 84.89 kB / 332.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.1074, allocations: 0 / 332.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.1077, allocations: 206.6 kB / 332.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1078, allocations: 4 kB / 332.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000782/0.1085, allocations: 459.9 kB / 332.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1087, allocations: 170.2 kB / 333.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.1094, allocations: 0.5168 MB / 333.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1094, allocations: 29.7 kB / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.1095, allocations: 97.12 kB / 333.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.1095, allocations: 19.72 kB / 333.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1097, allocations: 89.34 kB / 333.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1098, allocations: 326.8 kB / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1099, allocations: 51.97 kB / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1101, allocations: 81.66 kB / 334.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.1104, allocations: 339.7 kB / 334.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1104, allocations: 0 / 334.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005246/0.111, allocations: 380.3 kB / 335 MB, free: 12.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.1111, allocations: 126.8 kB / 335.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1111, allocations: 4.031 kB / 335.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1111, allocations: 4 kB / 335.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.1111, allocations: 0 / 335.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1111, allocations: 3.938 kB / 335.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1113, allocations: 11.98 kB / 335.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.1114, allocations: 40 kB / 335.2 MB, free: 11.88 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.0003582/0.1117, allocations: 362.2 kB / 335.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.1118, allocations: 43.52 kB / 335.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1119, allocations: 67.16 kB / 335.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1119, allocations: 4 kB / 335.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1119, allocations: 0 / 335.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.112, allocations: 4.094 kB / 335.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.1129, allocations: 0.8056 MB / 336.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.113, allocations: 0 / 336.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.113, allocations: 7.984 kB / 336.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.113, allocations: 0 / 336.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.113, allocations: 8 kB / 336.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.113, allocations: 0 / 336.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.113, allocations: 7.938 kB / 336.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.1137, allocations: 0.5252 MB / 337 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.114, allocations: 244.6 kB / 337.2 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.1141, allocations: 12 kB / 337.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1142, allocations: 15.98 kB / 337.2 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.1144, allocations: 23.92 kB / 337.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.1144, allocations: 47.92 kB / 337.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004809/0.1149, allocations: 390.9 kB / 337.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1149, allocations: 0 / 337.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000309/0.1152, allocations: 44 kB / 337.7 MB, free: 9.113 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.00108/0.1163, allocations: 1.078 MB / 338.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005653/0.1169, allocations: 433.5 kB / 339.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1169, allocations: 0 / 339.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.1173, allocations: 381.5 kB / 339.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.118, allocations: 117.4 kB / 339.7 MB, free: 6.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.1215, allocations: 2.785 MB / 342.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.1221, allocations: 0.8022 MB / 343.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.1222, allocations: 8.656 kB / 343.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.1222, allocations: 35.42 kB / 343.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1222, allocations: 0 / 343.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03979/0.162, allocations: 5.36 MB / 348.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.1623, allocations: 193.2 kB / 348.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.106, allocations: 0 / 348.9 MB, free: 13.55 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S.fmu > 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