Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001546, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001208, allocations: 84.45 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006008/0.0006008, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3714, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.517, allocations: 81.91 MB / 456.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5173, allocations: 79.95 kB / 456.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09601/0.6134, allocations: 26.82 MB / 483.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6134, allocations: 0 / 483.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.6134, allocations: 4 kB / 483.3 MB, free: 4.027 MB / 362.7 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.0009026/0.6144, allocations: 0.6761 MB / 484 MB, free: 3.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6144, allocations: 16.03 kB / 484 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.6145, allocations: 31.62 kB / 484.1 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.615, allocations: 261.5 kB / 484.3 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.615, allocations: 11.98 kB / 484.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.6151, allocations: 8 kB / 484.3 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.6156, allocations: 149.5 kB / 484.5 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.6156, allocations: 0 / 484.5 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.6156, allocations: 4 kB / 484.5 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6157, allocations: 3.984 kB / 484.5 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.6159, allocations: 67.89 kB / 484.6 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.617, allocations: 488.5 kB / 485 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.6173, allocations: 102.5 kB / 485.1 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.6173, allocations: 0 / 485.1 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.6178, allocations: 230.7 kB / 485.4 MB, free: 1.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.6178, allocations: 0 / 485.4 MB, free: 1.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001542/0.6194, allocations: 0.6661 MB / 486 MB, free: 1.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6195, allocations: 162.2 kB / 486.2 MB, free: 0.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/0.6205, allocations: 464.5 kB / 486.6 MB, free: 424 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.6205, allocations: 29.7 kB / 486.7 MB, free: 388 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.6206, allocations: 163.6 kB / 486.8 MB, free: 220 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.6207, allocations: 27.7 kB / 486.9 MB, free: 192 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.6208, allocations: 7.938 kB / 486.9 MB, free: 184 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6209, allocations: 318.8 kB / 487.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.6212, allocations: 63.95 kB / 487.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.6215, allocations: 77.67 kB / 487.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.6218, allocations: 174.8 kB / 487.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6218, allocations: 0 / 487.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001009/0.6228, allocations: 412 kB / 487.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.6229, allocations: 126.8 kB / 488 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.623, allocations: 0 / 488 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.623, allocations: 4 kB / 488 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.308e-05/0.623, allocations: 0 / 488 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.623, allocations: 0 / 488 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.6233, allocations: 19.98 kB / 488 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.6235, allocations: 119.8 kB / 488.1 MB, free: 14.8 MB / 378.7 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.0005902/0.6241, allocations: 362.3 kB / 488.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.6242, allocations: 51.42 kB / 488.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.6244, allocations: 63.16 kB / 488.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6244, allocations: 0 / 488.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6244, allocations: 0 / 488.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6244, allocations: 4 kB / 488.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.6261, allocations: 0.8446 MB / 489.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6261, allocations: 0 / 489.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-06/0.6261, allocations: 0 / 489.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6261, allocations: 0 / 489.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.6262, allocations: 19.98 kB / 489.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6262, allocations: 4 kB / 489.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6262, allocations: 0 / 489.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.6274, allocations: 0.5606 MB / 490 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.628, allocations: 256.4 kB / 490.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.6281, allocations: 8 kB / 490.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.6284, allocations: 20.17 kB / 490.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.6286, allocations: 31.97 kB / 490.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.6288, allocations: 119.9 kB / 490.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007711/0.6296, allocations: 390.8 kB / 490.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6296, allocations: 0 / 490.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004357/0.63, allocations: 44 kB / 490.9 MB, free: 11.88 MB / 378.7 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.0001955/0.6302, allocations: 115 kB / 491 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.6311, allocations: 453.5 kB / 491.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6312, allocations: 4 kB / 491.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.6317, allocations: 385.6 kB / 491.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.6326, allocations: 99.48 kB / 491.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.6344, allocations: 0.795 MB / 492.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.6351, allocations: 0.8063 MB / 493.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.6351, allocations: 11.44 kB / 493.5 MB, free: 9.062 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6351, allocations: 0 / 493.5 MB, free: 9.062 MB / 378.7 MB Notification: Performance of Templates: time 0.00894/0.6441, allocations: 3.779 MB / 497.3 MB, free: 5.23 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches