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.002068/0.002068, allocations: 110.1 kB / 17.17 MB, free: 6.32 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.002849/0.002849, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.451/2.451, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 48.61 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1348, allocations: 49.45 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003915/0.1387, allocations: 1.568 MB / 351.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.141, allocations: 0.8733 MB / 352.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1411, allocations: 0 / 352.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1414, allocations: 3.938 kB / 352.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1415, allocations: 15.91 kB / 352.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.1419, allocations: 47.89 kB / 352.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1421, allocations: 119.7 kB / 352.7 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1423, allocations: 19.98 kB / 352.7 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/0.1432, allocations: 375.2 kB / 353.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1434, allocations: 63.77 kB / 353.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.1434, allocations: 4 kB / 353.1 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.1435, allocations: 4 kB / 353.1 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1436, allocations: 67.69 kB / 353.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.1438, allocations: 119.1 kB / 353.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1442, allocations: 283.4 kB / 353.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1442, allocations: 0 / 353.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1442, allocations: 0 / 353.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1442, allocations: 0 / 353.6 MB, free: 1.281 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.001111/0.1453, allocations: 0.7191 MB / 354.3 MB, free: 500 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.1454, allocations: 8.031 kB / 354.3 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1455, allocations: 44.47 kB / 354.4 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.1459, allocations: 274.3 kB / 354.6 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.1459, allocations: 8.375 kB / 354.6 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.146, allocations: 12.38 kB / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.1464, allocations: 126.9 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1464, allocations: 4 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1464, allocations: 0 / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1464, allocations: 7.938 kB / 354.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1466, allocations: 55.97 kB / 354.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.1474, allocations: 456.5 kB / 355.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1477, allocations: 98.48 kB / 355.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1478, allocations: 84.83 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.1479, allocations: 0 / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.1483, allocations: 198.7 kB / 355.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.1483, allocations: 4 kB / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009286/0.1492, allocations: 469.8 kB / 356.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.1494, allocations: 170.2 kB / 356.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.1503, allocations: 0.5169 MB / 356.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.1503, allocations: 37.64 kB / 356.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.1504, allocations: 97.12 kB / 356.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1505, allocations: 23.66 kB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.1506, allocations: 81.41 kB / 357 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1508, allocations: 326.8 kB / 357.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1509, allocations: 55.97 kB / 357.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1511, allocations: 77.67 kB / 357.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.1515, allocations: 343.4 kB / 357.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1515, allocations: 0 / 357.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006186/0.1521, allocations: 375.2 kB / 358.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.1523, allocations: 130.8 kB / 358.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1523, allocations: 4.031 kB / 358.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1523, allocations: 4 kB / 358.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.409e-05/0.1523, allocations: 0 / 358.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1523, allocations: 0 / 358.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1525, allocations: 11.98 kB / 358.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.1526, allocations: 40 kB / 358.4 MB, free: 12.08 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.0004321/0.153, allocations: 358.2 kB / 358.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.1531, allocations: 39.53 kB / 358.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1533, allocations: 71.14 kB / 358.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1533, allocations: 4 kB / 358.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1533, allocations: 0 / 358.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1533, allocations: 3.984 kB / 358.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1544, allocations: 0.8017 MB / 359.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1544, allocations: 192 / 359.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.1545, allocations: 11.98 kB / 359.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1545, allocations: 0 / 359.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1545, allocations: 11.98 kB / 359.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1545, allocations: 0 / 359.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.1545, allocations: 7.938 kB / 359.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.1553, allocations: 0.5251 MB / 360.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.1557, allocations: 244.4 kB / 360.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.1557, allocations: 12 kB / 360.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1559, allocations: 15.92 kB / 360.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.156, allocations: 27.91 kB / 360.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/0.1561, allocations: 47.88 kB / 360.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005272/0.1566, allocations: 390.9 kB / 360.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1566, allocations: 0 / 360.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000334/0.157, allocations: 47.94 kB / 361 MB, free: 9.301 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.000201/0.1572, allocations: 119 kB / 361.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.1578, allocations: 433.5 kB / 361.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1579, allocations: 0 / 361.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.1583, allocations: 373.6 kB / 361.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.159, allocations: 115.4 kB / 362 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1604, allocations: 0.8015 MB / 362.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.161, allocations: 0.7986 MB / 363.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.161, allocations: 11.44 kB / 363.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.161, allocations: 0 / 363.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of Templates: time 0.005435/0.1665, allocations: 2.517 MB / 366.1 MB, free: 4.008 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/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