Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 64.58 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1239, allocations: 50.52 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002956/0.1269, allocations: 1.536 MB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1288, allocations: 0.8902 MB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.1289, allocations: 4 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.463e-05/0.129, allocations: 3.938 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.1291, allocations: 23.78 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1294, allocations: 47.89 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1297, allocations: 151.7 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1298, allocations: 15.98 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.1302, allocations: 371.4 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1304, allocations: 71.64 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.1304, allocations: 12 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.683e-05/0.1304, allocations: 8 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.1305, allocations: 67.75 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1306, allocations: 111.2 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.131, allocations: 354.7 kB / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.131, allocations: 0 / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.131, allocations: 7.984 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.131, allocations: 0 / 362.5 MB, free: 9.68 MB / 302.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.0007562/0.1318, allocations: 0.711 MB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1318, allocations: 16.03 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.1319, allocations: 40.47 kB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1322, allocations: 270.3 kB / 363.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1322, allocations: 8.359 kB / 363.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.1323, allocations: 12.38 kB / 363.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1326, allocations: 125.4 kB / 363.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1326, allocations: 0 / 363.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.1326, allocations: 4 kB / 363.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1326, allocations: 4 kB / 363.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1328, allocations: 59.91 kB / 363.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.1334, allocations: 468.5 kB / 364.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1336, allocations: 98.48 kB / 364.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1338, allocations: 80.88 kB / 364.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1338, allocations: 4.109 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.1341, allocations: 206.6 kB / 364.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.1342, allocations: 3.938 kB / 364.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007288/0.1349, allocations: 463.9 kB / 365.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.135, allocations: 166.2 kB / 365.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.1356, allocations: 0.5129 MB / 365.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1356, allocations: 33.7 kB / 365.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1357, allocations: 97.12 kB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1358, allocations: 27.66 kB / 365.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1359, allocations: 85.41 kB / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.136, allocations: 330.8 kB / 366.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1361, allocations: 51.97 kB / 366.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1362, allocations: 73.69 kB / 366.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.1366, allocations: 339.2 kB / 366.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1366, allocations: 0 / 366.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005059/0.1371, allocations: 384.3 kB / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.1372, allocations: 126.8 kB / 367.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1372, allocations: 0 / 367.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1372, allocations: 0 / 367.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.1372, allocations: 4 kB / 367.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1372, allocations: 0 / 367.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1374, allocations: 11.98 kB / 367.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.1374, allocations: 36 kB / 367.3 MB, free: 4.48 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.0003299/0.1378, allocations: 371.3 kB / 367.7 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1378, allocations: 43.56 kB / 367.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1379, allocations: 71.12 kB / 367.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1379, allocations: 0 / 367.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.138, allocations: 0 / 367.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.138, allocations: 4 kB / 367.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008987/0.1389, allocations: 0.8084 MB / 368.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1389, allocations: 4.062 kB / 368.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-06/0.1389, allocations: 0 / 368.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1389, allocations: 0 / 368.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1389, allocations: 12 kB / 368.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1389, allocations: 7.938 kB / 368.6 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.139, allocations: 3.938 kB / 368.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.1396, allocations: 0.5213 MB / 369.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.1399, allocations: 244.4 kB / 369.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.14, allocations: 12 kB / 369.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1401, allocations: 11.98 kB / 369.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1402, allocations: 27.91 kB / 369.4 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.1403, allocations: 43.94 kB / 369.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004463/0.1407, allocations: 390.9 kB / 369.9 MB, free: 1.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 0 / 369.9 MB, free: 1.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00029/0.141, allocations: 55.88 kB / 369.9 MB, free: 1.695 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.0001392/0.1412, allocations: 111 kB / 370 MB, free: 1.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.1417, allocations: 433.5 kB / 370.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1417, allocations: 0 / 370.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.142, allocations: 385.6 kB / 370.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.1426, allocations: 119 kB / 371 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1507/0.2933, allocations: 0.6494 MB / 371.6 MB, free: 20.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2937, allocations: 0.8032 MB / 372.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.252e-05/0.2937, allocations: 10.56 kB / 372.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.2938, allocations: 11.22 kB / 372.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2938, allocations: 3.312 kB / 372.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of Templates: time 0.007841/0.3016, allocations: 4.377 MB / 376.8 MB, free: 19.67 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches