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.00103/0.00103, allocations: 96.23 kB / 17.3 MB, free: 6.387 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.001008/0.001008, allocations: 177.4 kB / 18.21 MB, free: 5.551 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.687/1.687, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004098/0.0004097, allocations: 8.281 kB / 281.5 MB, free: 3.34 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09599, allocations: 47.58 MB / 329.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001557/0.0976, allocations: 1.235 MB / 330.3 MB, free: 2.434 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.09942, allocations: 0.8985 MB / 331.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.09948, allocations: 0 / 331.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.145e-05/0.09957, allocations: 11.92 kB / 331.2 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.09965, allocations: 11.88 kB / 331.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.0999, allocations: 43.95 kB / 331.3 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1001, allocations: 111.7 kB / 331.4 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1002, allocations: 35.97 kB / 331.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.1006, allocations: 367.3 kB / 331.8 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1007, allocations: 63.7 kB / 331.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1008, allocations: 4 kB / 331.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.1008, allocations: 4 kB / 331.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.1009, allocations: 63.7 kB / 331.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.101, allocations: 128.9 kB / 332 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.1013, allocations: 350.6 kB / 332.4 MB, free: 356 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1014, allocations: 0 / 332.4 MB, free: 356 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1014, allocations: 8 kB / 332.4 MB, free: 348 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1014, allocations: 0 / 332.4 MB, free: 348 kB / 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.0006535/0.102, allocations: 0.6492 MB / 333 MB, free: 15.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1021, allocations: 8.031 kB / 333 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.1021, allocations: 38.75 kB / 333.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.1022, allocations: 44.41 kB / 333.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1025, allocations: 274.3 kB / 333.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1025, allocations: 8.312 kB / 333.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1026, allocations: 8.375 kB / 333.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1029, allocations: 125.7 kB / 333.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1029, allocations: 0 / 333.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.1029, allocations: 11.98 kB / 333.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1029, allocations: 0 / 333.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1031, allocations: 59.91 kB / 333.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.1037, allocations: 464.5 kB / 334 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1039, allocations: 94.55 kB / 334.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.1041, allocations: 88.83 kB / 334.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1041, allocations: 0 / 334.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.1045, allocations: 202.6 kB / 334.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1045, allocations: 0 / 334.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007642/0.1053, allocations: 456.1 kB / 334.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1054, allocations: 178.1 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.106, allocations: 0.5207 MB / 335.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.106, allocations: 29.7 kB / 335.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1061, allocations: 93.14 kB / 335.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1061, allocations: 31.69 kB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1062, allocations: 21.72 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1063, allocations: 326.8 kB / 336 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1065, allocations: 55.97 kB / 336.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1066, allocations: 77.67 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.1069, allocations: 339.2 kB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1069, allocations: 0 / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004788/0.1074, allocations: 372.8 kB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.216e-05/0.1075, allocations: 134.7 kB / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1075, allocations: 0 / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1075, allocations: 0 / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-05/0.1076, allocations: 0 / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1076, allocations: 8.156 kB / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1077, allocations: 19.89 kB / 337 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.1078, allocations: 40 kB / 337.1 MB, free: 11.21 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.0003127/0.1081, allocations: 358.2 kB / 337.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.1082, allocations: 35.62 kB / 337.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/0.1083, allocations: 67.14 kB / 337.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1083, allocations: 4 kB / 337.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1083, allocations: 0 / 337.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1083, allocations: 7.984 kB / 337.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008783/0.1092, allocations: 0.8094 MB / 338.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1092, allocations: 0 / 338.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.1092, allocations: 0 / 338.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1092, allocations: 11.92 kB / 338.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.1093, allocations: 8 kB / 338.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1093, allocations: 0 / 338.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1093, allocations: 3.938 kB / 338.4 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.1099, allocations: 0.5292 MB / 338.9 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.1102, allocations: 252.3 kB / 339.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.1103, allocations: 12 kB / 339.1 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1104, allocations: 15.92 kB / 339.2 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1106, allocations: 27.92 kB / 339.2 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.1106, allocations: 43.92 kB / 339.2 MB, free: 8.855 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004385/0.111, allocations: 382.9 kB / 339.6 MB, free: 8.484 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1111, allocations: 0 / 339.6 MB, free: 8.484 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1113, allocations: 48 kB / 339.7 MB, free: 8.438 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.000884/0.1122, allocations: 1.07 MB / 340.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.1127, allocations: 437.7 kB / 341.2 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1127, allocations: 0 / 341.2 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.113, allocations: 381.6 kB / 341.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.1137, allocations: 117 kB / 341.6 MB, free: 6.305 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.1169, allocations: 2.786 MB / 344.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.1173, allocations: 0.8022 MB / 345.2 MB, free: 2.578 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.477e-05/0.1174, allocations: 8.656 kB / 345.2 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.1174, allocations: 27.42 kB / 345.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1175, allocations: 0 / 345.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.1327, allocations: 5.067 MB / 350.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.133, allocations: 192.4 kB / 350.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.024, allocations: 3.938 kB / 350.5 MB, free: 13.21 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