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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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") [: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 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 183.4 kB / 8.135 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.4 MB / 229.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009276, allocations: 102.1 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.281e-06/6.301e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2182, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08498/0.3032, allocations: 81.98 MB / 468.9 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.3035, allocations: 71.91 kB / 469 MB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05119/0.3547, allocations: 26.6 MB / 495.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3548, allocations: 4 kB / 495.6 MB, free: 10.32 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.0005187/0.3553, allocations: 0.6175 MB / 496.2 MB, free: 9.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3553, allocations: 8.031 kB / 496.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.3554, allocations: 35.62 kB / 496.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3557, allocations: 269.4 kB / 496.5 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.3558, allocations: 4 kB / 496.5 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.3558, allocations: 13.03 kB / 496.5 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001381/0.356, allocations: 63.91 kB / 496.6 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.3562, allocations: 129.6 kB / 496.7 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3562, allocations: 4 kB / 496.7 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.3562, allocations: 0 / 496.7 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3563, allocations: 4 kB / 496.7 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.357, allocations: 469 kB / 497.2 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3571, allocations: 94.5 kB / 497.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3573, allocations: 88.89 kB / 497.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.3573, allocations: 0 / 497.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.3575, allocations: 206.6 kB / 497.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3575, allocations: 1.969 kB / 497.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004059/0.3579, allocations: 221.4 kB / 497.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.358, allocations: 170.1 kB / 497.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.3585, allocations: 452.5 kB / 498.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3585, allocations: 29.7 kB / 498.4 MB, free: 7.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.3586, allocations: 93.12 kB / 498.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.3586, allocations: 19.72 kB / 498.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.3587, allocations: 7.984 kB / 498.5 MB, free: 7.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.3588, allocations: 322.8 kB / 498.8 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3589, allocations: 67.97 kB / 498.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.359, allocations: 55.98 kB / 498.9 MB, free: 6.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.368e-05/0.3591, allocations: 51.83 kB / 499 MB, free: 6.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3591, allocations: 0 / 499 MB, free: 6.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003278/0.3594, allocations: 209.4 kB / 499.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3595, allocations: 4 kB / 499.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3595, allocations: 0 / 499.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3595, allocations: 0 / 499.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/0.3595, allocations: 3.906 kB / 499.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3595, allocations: 4 kB / 499.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3597, allocations: 15.98 kB / 499.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.3599, allocations: 119.8 kB / 499.3 MB, free: 6.273 MB / 378.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.0001857/0.3601, allocations: 246.1 kB / 499.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3601, allocations: 39.53 kB / 499.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.3603, allocations: 71.23 kB / 499.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3603, allocations: 0 / 499.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3603, allocations: 0 / 499.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3603, allocations: 4 kB / 499.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.361, allocations: 0.5933 MB / 0.4886 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.361, allocations: 0 / 0.4886 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-06/0.361, allocations: 0 / 0.4886 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.361, allocations: 0 / 0.4886 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.3611, allocations: 19.98 kB / 0.4886 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3611, allocations: 0 / 0.4886 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3611, allocations: 0 / 0.4886 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000405/0.3615, allocations: 354.9 kB / 0.4889 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.3618, allocations: 252.4 kB / 0.4892 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.3619, allocations: 15.94 kB / 0.4892 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3621, allocations: 15.92 kB / 0.4892 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3622, allocations: 35.88 kB / 0.4892 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.3623, allocations: 115.9 kB / 0.4893 GB, free: 4.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003984/0.3627, allocations: 370.9 kB / 0.4897 GB, free: 4.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.363, allocations: 36 kB / 0.4897 GB, free: 4.031 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.0001521/0.3632, allocations: 115 kB / 0.4898 GB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.3636, allocations: 270.8 kB / 0.4901 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3636, allocations: 0 / 0.4901 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.3639, allocations: 270.7 kB / 0.4904 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.3644, allocations: 92.78 kB / 0.4904 GB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.3653, allocations: 0.5345 MB / 0.491 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.3657, allocations: 0.8212 MB / 0.4918 GB, free: 1.836 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3657, allocations: 0 / 0.4918 GB, free: 1.836 MB / 378.7 MB Notification: Performance of Templates: time 0.1266/0.4924, allocations: 5.419 MB / 0.4971 GB, free: 135.4 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches