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/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_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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 194.9 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008465/0.0008465, allocations: 93.16 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.287e-06, allocations: 4 kB / 343.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08462, allocations: 51.47 MB / 394.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2345/0.3191, allocations: 82.8 MB / 477.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.3193, allocations: 65.94 kB / 477.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04853/0.3679, allocations: 26.66 MB / 0.4923 GB, free: 5.383 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3679, allocations: 4 kB / 0.4923 GB, free: 5.379 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.0006199/0.3685, allocations: 0.626 MB / 0.4929 GB, free: 4.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3686, allocations: 8.031 kB / 0.4929 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.3687, allocations: 32.19 kB / 0.493 GB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.3691, allocations: 261.5 kB / 0.4932 GB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3691, allocations: 4.75 kB / 0.4932 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.3691, allocations: 15.94 kB / 0.4932 GB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001596/0.3693, allocations: 60.03 kB / 0.4933 GB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3696, allocations: 144.1 kB / 0.4934 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3696, allocations: 0 / 0.4934 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.3696, allocations: 4 kB / 0.4934 GB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3696, allocations: 0 / 0.4934 GB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.3704, allocations: 466.7 kB / 0.4939 GB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.3705, allocations: 95.3 kB / 0.494 GB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3707, allocations: 89.38 kB / 0.4941 GB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.3707, allocations: 0 / 0.4941 GB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.3709, allocations: 207.4 kB / 0.4943 GB, free: 3.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.3709, allocations: 0.75 kB / 0.4943 GB, free: 3.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004014/0.3713, allocations: 222 kB / 0.4945 GB, free: 3.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.3714, allocations: 166.7 kB / 0.4946 GB, free: 3.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.372, allocations: 448.1 kB / 0.4951 GB, free: 2.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.372, allocations: 33.7 kB / 0.4951 GB, free: 2.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.3721, allocations: 81.14 kB / 0.4952 GB, free: 2.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3721, allocations: 39.55 kB / 0.4952 GB, free: 2.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.3721, allocations: 4 kB / 0.4952 GB, free: 2.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.3722, allocations: 326 kB / 0.4955 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3724, allocations: 59.98 kB / 0.4956 GB, free: 2.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.627e-05/0.3725, allocations: 59.97 kB / 0.4956 GB, free: 2.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.488e-05/0.3726, allocations: 54.64 kB / 0.4957 GB, free: 1.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3726, allocations: 0 / 0.4957 GB, free: 1.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003278/0.3729, allocations: 197.5 kB / 0.4959 GB, free: 1.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3729, allocations: 11.98 kB / 0.4959 GB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3729, allocations: 3.938 kB / 0.4959 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.373, allocations: 3.906 kB / 0.4959 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.604e-05/0.373, allocations: 0 / 0.4959 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.373, allocations: 0 / 0.4959 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3731, allocations: 12.11 kB / 0.4959 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.3733, allocations: 123.7 kB / 0.496 GB, free: 1.613 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,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 () * 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.0001679/0.3734, allocations: 237.5 kB / 0.4962 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.3735, allocations: 39.53 kB / 0.4963 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.3736, allocations: 59.25 kB / 0.4963 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3736, allocations: 4 kB / 0.4963 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3736, allocations: 0 / 0.4963 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3736, allocations: 64 / 0.4963 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.3743, allocations: 0.6042 MB / 0.4969 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3743, allocations: 0 / 0.4969 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-06/0.3743, allocations: 0 / 0.4969 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3744, allocations: 0 / 0.4969 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.3744, allocations: 27.92 kB / 0.497 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3744, allocations: 0 / 0.497 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3744, allocations: 0 / 0.497 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003984/0.3748, allocations: 342.6 kB / 0.4973 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.3752, allocations: 257.4 kB / 0.4975 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.3753, allocations: 12 kB / 0.4975 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3754, allocations: 15.97 kB / 0.4976 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3756, allocations: 27.97 kB / 0.4976 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.3757, allocations: 123.8 kB / 0.4977 GB, free: 15.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004052/0.3761, allocations: 362.9 kB / 0.498 GB, free: 15.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.3764, allocations: 43.94 kB / 0.4981 GB, free: 15.38 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) * 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.0001358/0.3766, allocations: 129.5 kB / 0.4982 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.3769, allocations: 262.8 kB / 0.4985 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3769, allocations: 0 / 0.4985 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.3772, allocations: 270.8 kB / 0.4987 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3777, allocations: 103.7 kB / 0.4988 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009059/0.3786, allocations: 0.5265 MB / 0.4993 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.3791, allocations: 0.8173 MB / 0.5001 GB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3791, allocations: 0 / 0.5001 GB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.008632/0.3877, allocations: 5.419 MB / 0.5054 GB, free: 7.711 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches