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: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 88.98 kB / 16.31 MB, free: 5.676 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.0009354/0.0009355, allocations: 183 kB / 17.21 MB, free: 5.594 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.485/1.485, allocations: 223.2 MB / 241.2 MB, free: 272 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 8 kB / 300.8 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 50.43 MB / 351.2 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001604/0.1265, allocations: 1.196 MB / 352.4 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1281, allocations: 0.8121 MB / 353.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.1281, allocations: 0 / 353.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.643e-05/0.1282, allocations: 7.938 kB / 353.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.1283, allocations: 11.92 kB / 353.3 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1285, allocations: 43.83 kB / 353.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1287, allocations: 107.8 kB / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.1288, allocations: 15.98 kB / 353.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.1292, allocations: 343.4 kB / 353.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1293, allocations: 71.7 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1293, allocations: 4 kB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.1294, allocations: 8 kB / 353.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.1295, allocations: 59.83 kB / 353.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.1295, allocations: 77.5 kB / 354 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1298, allocations: 279.4 kB / 354.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1298, allocations: 0 / 354.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1298, allocations: 0 / 354.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1298, allocations: 3.938 kB / 354.3 MB, free: 0.9727 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.0006203/0.1305, allocations: 0.6647 MB / 354.9 MB, free: 240 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1305, allocations: 8.031 kB / 354.9 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1306, allocations: 39.53 kB / 355 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1308, allocations: 265.3 kB / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1309, allocations: 4 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1309, allocations: 8 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.1312, allocations: 117.6 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1312, allocations: 0 / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1312, allocations: 11.95 kB / 355.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1313, allocations: 0 / 355.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1314, allocations: 55.97 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.132, allocations: 460.6 kB / 355.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1322, allocations: 86.55 kB / 356 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1324, allocations: 88.84 kB / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.1324, allocations: 0 / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.1327, allocations: 214.6 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.1327, allocations: 7.938 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007436/0.1335, allocations: 456.1 kB / 356.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.1336, allocations: 170.2 kB / 356.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.1342, allocations: 0.5168 MB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1342, allocations: 29.7 kB / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.1343, allocations: 97.12 kB / 357.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1343, allocations: 31.59 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.1344, allocations: 12 kB / 357.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1345, allocations: 318.8 kB / 357.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1346, allocations: 55.97 kB / 357.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1348, allocations: 76.91 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1349, allocations: 166.7 kB / 358.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1349, allocations: 0 / 358.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000483/0.1354, allocations: 376.2 kB / 358.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.1355, allocations: 130.8 kB / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1355, allocations: 0 / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1356, allocations: 4 kB / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.046e-05/0.1356, allocations: 0 / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1356, allocations: 0 / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1358, allocations: 24.02 kB / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.1358, allocations: 40 kB / 358.7 MB, free: 12.13 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003257/0.1362, allocations: 362.3 kB / 359.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.1362, allocations: 39.58 kB / 359.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1364, allocations: 71.14 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1364, allocations: 0 / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1364, allocations: 0 / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1364, allocations: 3.938 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.1373, allocations: 0.8055 MB / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1373, allocations: 4 kB / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-06/0.1373, allocations: 0 / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1374, allocations: 0 / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.1374, allocations: 15.98 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1374, allocations: 4 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1374, allocations: 3.938 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.138, allocations: 0.5174 MB / 360.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.1384, allocations: 252.3 kB / 360.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1384, allocations: 12 kB / 360.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1386, allocations: 11.98 kB / 360.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.1387, allocations: 23.97 kB / 360.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.1387, allocations: 47.94 kB / 360.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004602/0.1392, allocations: 390.8 kB / 361.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1392, allocations: 0 / 361.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1395, allocations: 47.94 kB / 361.3 MB, free: 9.359 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.1396, allocations: 111 kB / 361.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.1401, allocations: 437.6 kB / 361.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1402, allocations: 0 / 361.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.1405, allocations: 385.8 kB / 362.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.141, allocations: 99.16 kB / 362.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1422, allocations: 0.7349 MB / 363.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.1426, allocations: 0.7946 MB / 363.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.1427, allocations: 12.64 kB / 363.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.1427, allocations: 11.44 kB / 363.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1427, allocations: 0 / 363.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of Templates: time 0.006686/0.1494, allocations: 3.769 MB / 367.6 MB, free: 2.902 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/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