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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.019/1.019, allocations: 173.4 MB / 201.1 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.204e-05, allocations: 2.312 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001886/0.001908, allocations: 1.533 MB / 269.5 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.003422, allocations: 0.8341 MB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.003473, allocations: 0 / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.715e-05/0.003571, allocations: 15.86 kB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.003644, allocations: 11.88 kB / 270.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.003895, allocations: 51.86 kB / 270.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.00407, allocations: 143.6 kB / 270.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.00418, allocations: 11.98 kB / 270.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.004576, allocations: 411.2 kB / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004699, allocations: 63.8 kB / 271 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.004737, allocations: 8 kB / 271.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.004762, allocations: 16 kB / 271.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.004837, allocations: 67.66 kB / 271.1 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.004908, allocations: 51.8 kB / 271.2 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.005147, allocations: 259.1 kB / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005149, allocations: 0 / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00515, allocations: 3.938 kB / 271.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.005156, allocations: 3.984 kB / 271.4 MB, free: 2.945 MB / 250.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.0005955/0.005752, allocations: 0.7824 MB / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.005786, allocations: 8.922 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.005852, allocations: 48.7 kB / 272.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.006041, allocations: 218.9 kB / 272.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.006069, allocations: 8.375 kB / 272.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.006089, allocations: 8.375 kB / 272.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.00635, allocations: 244.9 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.006362, allocations: 192 / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.006378, allocations: 12.3 kB / 272.8 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.006388, allocations: 7.938 kB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.006487, allocations: 162.8 kB / 272.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.006967, allocations: 495.4 kB / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.007107, allocations: 193.8 kB / 273.6 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.007212, allocations: 170.5 kB / 273.8 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.00722, allocations: 7.938 kB / 273.8 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.007419, allocations: 315.2 kB / 274.1 MB, free: 8 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.00742, allocations: 0 / 274.1 MB, free: 8 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005235/0.007944, allocations: 0.6697 MB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.008005, allocations: 174.2 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.008546, allocations: 0.6232 MB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.008565, allocations: 33.81 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.008625, allocations: 155.8 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.008657, allocations: 31.72 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.008738, allocations: 95.16 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.008867, allocations: 0.4923 MB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.008972, allocations: 158.8 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.009099, allocations: 186.1 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.009316, allocations: 329 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009319, allocations: 0 / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003943/0.009713, allocations: 498.8 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.595e-05/0.009779, allocations: 118.8 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.009785, allocations: 3.984 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.009802, allocations: 4 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.229e-05/0.009824, allocations: 0 / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.00983, allocations: 0 / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.009925, allocations: 8.125 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.009978, allocations: 48 kB / 277.7 MB, free: 12.06 MB / 266.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,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.01024, allocations: 389.2 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.01029, allocations: 55.73 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.357e-05/0.01036, allocations: 59.06 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01036, allocations: 0 / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01037, allocations: 4 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01037, allocations: 0 / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.01109, allocations: 0.9477 MB / 279.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01109, allocations: 4 kB / 279.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.0111, allocations: 0 / 279.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.0111, allocations: 0 / 279.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.01114, allocations: 15.98 kB / 279.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01115, allocations: 0 / 279.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01115, allocations: 8 kB / 279.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.01162, allocations: 0.6886 MB / 279.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.01183, allocations: 185.4 kB / 280 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.01187, allocations: 12 kB / 280 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.01196, allocations: 11.98 kB / 280 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.01202, allocations: 19.97 kB / 280.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.01206, allocations: 44 kB / 280.1 MB, free: 9.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003254/0.01238, allocations: 430.7 kB / 280.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01238, allocations: 0 / 280.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.01255, allocations: 47.95 kB / 280.6 MB, free: 8.965 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.165e-05/0.01264, allocations: 119 kB / 280.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.013, allocations: 0.5888 MB / 281.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.013, allocations: 4 kB / 281.3 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.01319, allocations: 424.1 kB / 281.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.01354, allocations: 144.4 kB / 281.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.01425, allocations: 0.7448 MB / 282.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.01433, allocations: 99.25 kB / 282.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.01436, allocations: 4.734 kB / 282.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.01438, allocations: 16.5 kB / 282.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01438, allocations: 0 / 282.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of Templates: time 0.005543/0.01992, allocations: 4.781 MB / 287.5 MB, free: 1.883 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.966899120248854]