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.001082/0.001082, allocations: 114.8 kB / 17.28 MB, free: 6.211 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.001131/0.001131, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.273/1.273, allocations: 205.1 MB / 224.1 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.001238/0.001238, allocations: 55.91 kB / 280.2 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08767, allocations: 46.63 MB / 326.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00317/0.09087, allocations: 1.578 MB / 328.5 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.0927, allocations: 0.8789 MB / 329.3 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.09281, allocations: 4 kB / 329.3 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.09295, allocations: 7.922 kB / 329.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.09304, allocations: 15.92 kB / 329.4 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.09333, allocations: 43.89 kB / 329.4 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.09355, allocations: 147.8 kB / 329.5 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.09365, allocations: 27.98 kB / 329.6 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.09411, allocations: 375.3 kB / 329.9 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.09426, allocations: 71.64 kB / 330 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.09431, allocations: 8 kB / 330 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.09435, allocations: 16 kB / 330 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.09445, allocations: 63.75 kB / 330.1 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.09458, allocations: 115.1 kB / 330.2 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.09495, allocations: 354.8 kB / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.09497, allocations: 0 / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09498, allocations: 0 / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.09499, allocations: 4 kB / 330.6 MB, free: 0.9961 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.0007783/0.09578, allocations: 0.7152 MB / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.09583, allocations: 12.03 kB / 331.3 MB, free: 200 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.09588, allocations: 42.75 kB / 331.3 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.09596, allocations: 40.47 kB / 331.4 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.09624, allocations: 266.3 kB / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.09627, allocations: 8.375 kB / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.09631, allocations: 8.375 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.09661, allocations: 137.6 kB / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.09663, allocations: 0 / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.09666, allocations: 4 kB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.09667, allocations: 3.984 kB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.09681, allocations: 55.97 kB / 331.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.09743, allocations: 468.5 kB / 332.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.09762, allocations: 94.48 kB / 332.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.09777, allocations: 80.89 kB / 332.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.09779, allocations: 4 kB / 332.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00034/0.09814, allocations: 214.6 kB / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.577e-06/0.09815, allocations: 112 / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007422/0.0989, allocations: 463.9 kB / 333.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.09899, allocations: 166.2 kB / 333.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.09955, allocations: 0.5207 MB / 333.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.09959, allocations: 33.7 kB / 333.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.09965, allocations: 97.14 kB / 333.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.0997, allocations: 27.69 kB / 334 MB, free: 13.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.09981, allocations: 77.42 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.09991, allocations: 330.8 kB / 334.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1, allocations: 55.91 kB / 334.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1002, allocations: 77.67 kB / 334.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.1005, allocations: 335.3 kB / 334.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1005, allocations: 4 kB / 334.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004885/0.101, allocations: 376.3 kB / 335.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.1011, allocations: 130.8 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1011, allocations: 0 / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1011, allocations: 4 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.1011, allocations: 0 / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1011, allocations: 0 / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.1013, allocations: 8 kB / 335.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.1013, allocations: 43.98 kB / 335.4 MB, free: 11.74 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.0002937/0.1016, allocations: 362.3 kB / 335.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1017, allocations: 39.53 kB / 335.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.979e-05/0.1018, allocations: 67.09 kB / 335.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1018, allocations: 4 kB / 335.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1018, allocations: 0 / 335.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1018, allocations: 0 / 335.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/0.1027, allocations: 0.8056 MB / 336.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1027, allocations: 0 / 336.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-06/0.1027, allocations: 8 kB / 336.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1027, allocations: 0 / 336.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.1027, allocations: 11.98 kB / 336.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1027, allocations: 0 / 336.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1028, allocations: 3.938 kB / 336.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.1034, allocations: 0.5336 MB / 337.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.1036, allocations: 244.3 kB / 337.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.1037, allocations: 16 kB / 337.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1039, allocations: 19.92 kB / 337.5 MB, free: 9.457 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.104, allocations: 23.92 kB / 337.5 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.104, allocations: 47.92 kB / 337.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004093/0.1044, allocations: 386.9 kB / 337.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1044, allocations: 0 / 337.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1047, allocations: 44 kB / 338 MB, free: 8.969 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.0008765/0.1056, allocations: 1.081 MB / 339.1 MB, free: 7.836 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.1061, allocations: 433.5 kB / 339.5 MB, free: 7.363 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1061, allocations: 0 / 339.5 MB, free: 7.363 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.1064, allocations: 381.5 kB / 339.8 MB, free: 6.941 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.107, allocations: 133.6 kB / 340 MB, free: 6.812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.1102, allocations: 2.784 MB / 342.8 MB, free: 3.914 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.1106, allocations: 0.8019 MB / 343.6 MB, free: 3.086 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.1107, allocations: 8.656 kB / 343.6 MB, free: 3.078 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.1108, allocations: 35.42 kB / 343.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1108, allocations: 0 / 343.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.1262, allocations: 5.541 MB / 349.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.1264, allocations: 197.3 kB / 349.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.928, allocations: 4 kB / 349.3 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