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.001098/0.001098, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001279/0.001279, allocations: 177 kB / 17.56 MB, free: 6.18 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.458/1.458, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002693, allocations: 8 kB / 301.5 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 50.41 MB / 351.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002496/0.1244, allocations: 1.239 MB / 353.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1268, allocations: 0.8546 MB / 354 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/0.1269, allocations: 3.938 kB / 354 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.127, allocations: 11.92 kB / 354.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1272, allocations: 15.86 kB / 354.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1275, allocations: 43.95 kB / 354.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.1277, allocations: 111.7 kB / 354.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1279, allocations: 19.98 kB / 354.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.1284, allocations: 371.3 kB / 354.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1286, allocations: 67.75 kB / 354.7 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.1287, allocations: 4 kB / 354.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.742e-05/0.1287, allocations: 4 kB / 354.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1288, allocations: 59.7 kB / 354.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.129, allocations: 136.9 kB / 354.9 MB, free: 436 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.1294, allocations: 342.6 kB / 355.2 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1294, allocations: 0 / 355.2 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd: time 5.42e-06/0.1294, allocations: 4 kB / 355.2 MB, free: 88 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1294, allocations: 0 / 355.2 MB, free: 88 kB / 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.001125/0.1305, allocations: 0.657 MB / 355.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1306, allocations: 12.03 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.387e-05/0.1307, allocations: 34.75 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.1308, allocations: 40.47 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1312, allocations: 274.3 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.1312, allocations: 8.375 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.1313, allocations: 12.38 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1316, allocations: 128.8 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1317, allocations: 3.984 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.1317, allocations: 4 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1317, allocations: 3.938 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1319, allocations: 59.97 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.1327, allocations: 464.4 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1329, allocations: 94.55 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1331, allocations: 84.89 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1331, allocations: 4 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004004/0.1335, allocations: 202.6 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.1335, allocations: 0 / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009446/0.1345, allocations: 456.1 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.1346, allocations: 174.2 kB / 357.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.1355, allocations: 0.5129 MB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.1355, allocations: 29.7 kB / 358.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.1356, allocations: 109.1 kB / 358.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.1357, allocations: 27.66 kB / 358.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1357, allocations: 25.7 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1359, allocations: 322.8 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.136, allocations: 63.89 kB / 359 MB, free: 12.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1362, allocations: 69.69 kB / 359 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.1367, allocations: 351.2 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1367, allocations: 0 / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005442/0.1372, allocations: 380.1 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/0.1374, allocations: 122.8 kB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1374, allocations: 0 / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1374, allocations: 0 / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.37e-05/0.1374, allocations: 3.938 kB / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1374, allocations: 4 kB / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.1376, allocations: 15.98 kB / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.1377, allocations: 40.03 kB / 359.9 MB, free: 10.95 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.0004291/0.1381, allocations: 362.2 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.1382, allocations: 35.62 kB / 360.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1383, allocations: 71.12 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1383, allocations: 112 / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1383, allocations: 7.938 kB / 360.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1383, allocations: 0 / 360.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.1396, allocations: 0.8055 MB / 361.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1396, allocations: 4 kB / 361.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-06/0.1396, allocations: 0 / 361.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1396, allocations: 4 kB / 361.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.1396, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1396, allocations: 0 / 361.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1397, allocations: 7.922 kB / 361.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.1403, allocations: 0.5134 MB / 361.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.1407, allocations: 252.3 kB / 362 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.1408, allocations: 16 kB / 362 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1409, allocations: 12.23 kB / 362 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.1411, allocations: 31.89 kB / 362 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.1411, allocations: 47.94 kB / 362.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007325/0.1419, allocations: 386.9 kB / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1419, allocations: 3.938 kB / 362.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1422, allocations: 40 kB / 362.5 MB, free: 8.176 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.001558/0.1438, allocations: 1.086 MB / 363.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.1444, allocations: 437.5 kB / 364 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1444, allocations: 0 / 364 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.1449, allocations: 369.6 kB / 364.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.1456, allocations: 116.1 kB / 364.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.1505, allocations: 2.805 MB / 367.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.1513, allocations: 0.7946 MB / 368.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.028e-05/0.1514, allocations: 8.656 kB / 368.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.1515, allocations: 31.42 kB / 368.1 MB, free: 2.258 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1515, allocations: 0 / 368.1 MB, free: 2.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.247/0.3985, allocations: 5.03 MB / 373.2 MB, free: 23.94 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.3987, allocations: 201.8 kB / 373.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.418, allocations: 3.75 kB / 373.4 MB, free: 23.68 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