Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009818/0.0009816, allocations: 199.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008278/0.0008279, allocations: 98.48 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002202/0.0002203, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 51.3 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08922/0.2873, allocations: 83.52 MB / 492.2 MB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.2876, allocations: 75.94 kB / 492.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2121/0.4997, allocations: 27.23 MB / 0.5073 GB, free: 94.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4998, allocations: 3.531 kB / 0.5073 GB, free: 94.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.4998, allocations: 3.312 kB / 0.5073 GB, free: 94.97 MB / 378.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.0005411/0.5003, allocations: 0.674 MB / 0.508 GB, free: 94.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5004, allocations: 8.75 kB / 0.508 GB, free: 94.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.5004, allocations: 39.84 kB / 0.508 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.5007, allocations: 272.7 kB / 0.5083 GB, free: 94.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.5007, allocations: 4.656 kB / 0.5083 GB, free: 94.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.5008, allocations: 11.75 kB / 0.5083 GB, free: 94.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.5011, allocations: 153.6 kB / 0.5085 GB, free: 94.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5011, allocations: 192 / 0.5085 GB, free: 94.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.5011, allocations: 7.938 kB / 0.5085 GB, free: 94.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5012, allocations: 0 / 0.5085 GB, free: 94.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.5013, allocations: 69.44 kB / 0.5085 GB, free: 94.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.5019, allocations: 476.5 kB / 0.509 GB, free: 93.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.5021, allocations: 105 kB / 0.5091 GB, free: 93.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.5023, allocations: 93.98 kB / 0.5092 GB, free: 93.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.5023, allocations: 0.5 kB / 0.5092 GB, free: 93.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.5026, allocations: 222.5 kB / 0.5094 GB, free: 93.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.5026, allocations: 7.781 kB / 0.5094 GB, free: 93.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000879/0.5035, allocations: 0.5297 MB / 0.5099 GB, free: 93.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.5036, allocations: 164.5 kB / 0.5101 GB, free: 93.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/0.5043, allocations: 0.5137 MB / 0.5106 GB, free: 93.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.5043, allocations: 29.8 kB / 0.5106 GB, free: 93.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.5044, allocations: 103 kB / 0.5107 GB, free: 92.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.5044, allocations: 30.06 kB / 0.5107 GB, free: 92.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.5045, allocations: 3.344 kB / 0.5107 GB, free: 92.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.5045, allocations: 325.5 kB / 0.511 GB, free: 92.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.5047, allocations: 67.28 kB / 0.5111 GB, free: 92.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.5049, allocations: 78.28 kB / 0.5112 GB, free: 92.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.5052, allocations: 357.8 kB / 0.5115 GB, free: 92.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5052, allocations: 1.375 kB / 0.5115 GB, free: 92.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006663/0.5059, allocations: 440.6 kB / 0.5119 GB, free: 92.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/0.5059, allocations: 125.4 kB / 0.5121 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.506, allocations: 0 / 0.5121 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.506, allocations: 0 / 0.5121 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.253e-05/0.506, allocations: 7.969 kB / 0.5121 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.506, allocations: 3.281 kB / 0.5121 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.5062, allocations: 22.19 kB / 0.5121 GB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.5063, allocations: 117.3 kB / 0.5122 GB, free: 92.05 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.0002963/0.5066, allocations: 364.5 kB / 0.5125 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.5066, allocations: 33.44 kB / 0.5126 GB, free: 91.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.768e-05/0.5068, allocations: 70.52 kB / 0.5126 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5068, allocations: 4 kB / 0.5127 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5068, allocations: 3.062 kB / 0.5127 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5068, allocations: 0 / 0.5127 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009052/0.5077, allocations: 0.865 MB / 0.5135 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5077, allocations: 0 / 0.5135 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.5077, allocations: 3.969 kB / 0.5135 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5077, allocations: 0 / 0.5135 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.5078, allocations: 19.59 kB / 0.5135 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5078, allocations: 3.75 kB / 0.5135 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5078, allocations: 0 / 0.5135 GB, free: 91.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.5084, allocations: 0.5958 MB / 0.5141 GB, free: 90.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.5087, allocations: 255.1 kB / 0.5143 GB, free: 90.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.5087, allocations: 11.28 kB / 0.5144 GB, free: 90.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.5089, allocations: 19.5 kB / 0.5144 GB, free: 90.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.509, allocations: 33.84 kB / 0.5144 GB, free: 90.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5091, allocations: 128.9 kB / 0.5145 GB, free: 90.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004073/0.5096, allocations: 389 kB / 0.5149 GB, free: 90.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5096, allocations: 0 / 0.5149 GB, free: 90.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.5099, allocations: 43.53 kB / 0.5149 GB, free: 90.68 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.0001337/0.51, allocations: 112.5 kB / 0.5151 GB, free: 90.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.5105, allocations: 455.3 kB / 0.5155 GB, free: 90.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5105, allocations: 0 / 0.5155 GB, free: 90.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.5108, allocations: 380.9 kB / 0.5159 GB, free: 90.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.5113, allocations: 113.4 kB / 0.516 GB, free: 90.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.5124, allocations: 0.7872 MB / 0.5167 GB, free: 89.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.5127, allocations: 0.8072 MB / 0.5175 GB, free: 88.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.5127, allocations: 7.438 kB / 0.5175 GB, free: 88.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5127, allocations: 3.938 kB / 0.5175 GB, free: 88.82 MB / 378.7 MB Notification: Performance of Templates: time 0.004374/0.5171, allocations: 3.817 MB / 0.5213 GB, free: 88.42 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches