Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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 3.2.3+maint.om/package.mo): time 0.0009472/0.0009473, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.2 MB / 214.1 MB, free: 5.242 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 94.2 kB / 262.1 MB, free: 5.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.792e-06/6.812e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07653/0.07655, allocations: 47.57 MB / 362.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.3039, allocations: 81.08 MB / 443.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.3041, allocations: 64.2 kB / 443.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04585/0.3499, allocations: 26.23 MB / 469.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.35, allocations: 8.312 kB / 469.9 MB, free: 3.074 MB / 314.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.0005358/0.3505, allocations: 0.6119 MB / 470.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3506, allocations: 9.312 kB / 470.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.3507, allocations: 33.31 kB / 470.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3511, allocations: 265.8 kB / 470.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3512, allocations: 4.75 kB / 470.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.3512, allocations: 7.219 kB / 470.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001628/0.3514, allocations: 57.3 kB / 470.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3516, allocations: 146.2 kB / 471 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3516, allocations: 1.125 kB / 471 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.3517, allocations: 7.344 kB / 471.1 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3517, allocations: 1.156 kB / 471.1 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.3524, allocations: 462 kB / 471.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3526, allocations: 106.7 kB / 471.6 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3527, allocations: 85.39 kB / 471.7 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3527, allocations: 3.906 kB / 471.7 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.3529, allocations: 199.9 kB / 471.9 MB, free: 1.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.3529, allocations: 1.031 kB / 471.9 MB, free: 1.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004332/0.3534, allocations: 219.3 kB / 472.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3534, allocations: 167.8 kB / 472.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.3539, allocations: 454 kB / 472.7 MB, free: 1.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.354, allocations: 29.05 kB / 472.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.354, allocations: 92.33 kB / 472.8 MB, free: 1.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.3541, allocations: 30 kB / 472.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.3541, allocations: 7.375 kB / 472.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.3541, allocations: 324.4 kB / 473.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3542, allocations: 62.91 kB / 473.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.3543, allocations: 60.84 kB / 473.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/0.3544, allocations: 58.94 kB / 473.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3545, allocations: 0 / 473.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002974/0.3548, allocations: 194.8 kB / 473.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3548, allocations: 6.25 kB / 473.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3548, allocations: 0 / 473.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3548, allocations: 3.906 kB / 473.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.3548, allocations: 2.875 kB / 473.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3548, allocations: 0 / 473.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.355, allocations: 19.52 kB / 473.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.3551, allocations: 128.2 kB / 473.7 MB, free: 0.543 MB / 314.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.0001353/0.3553, allocations: 241 kB / 473.9 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.3553, allocations: 41.12 kB / 474 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3555, allocations: 64.36 kB / 474.1 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3555, allocations: 1.938 kB / 474.1 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3555, allocations: 0 / 474.1 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3555, allocations: 0 / 474.1 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.3561, allocations: 0.5851 MB / 474.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3562, allocations: 4 kB / 474.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.3562, allocations: 0 / 474.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3562, allocations: 0 / 474.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.3562, allocations: 27.47 kB / 474.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3562, allocations: 3.984 kB / 474.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3562, allocations: 3.938 kB / 474.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003842/0.3566, allocations: 332.9 kB / 475 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.357, allocations: 262.1 kB / 475.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/0.3571, allocations: 15.94 kB / 475.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3573, allocations: 8 kB / 475.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3574, allocations: 39.61 kB / 475.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.3575, allocations: 119.8 kB / 475.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003927/0.3579, allocations: 368 kB / 475.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.3582, allocations: 40 kB / 475.8 MB, free: 14.64 MB / 330.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.0001519/0.3584, allocations: 114.6 kB / 475.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.3588, allocations: 272.5 kB / 476.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3588, allocations: 0 / 476.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.359, allocations: 267.7 kB / 476.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.3595, allocations: 102.5 kB / 476.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.3605, allocations: 0.5323 MB / 477.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.361, allocations: 0.8246 MB / 477.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.361, allocations: 0 / 477.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of Templates: time 0.008508/0.3695, allocations: 5.432 MB / 483.4 MB, free: 7.164 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches