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.0009901/0.0009901, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001068/0.001068, allocations: 145.4 kB / 25.59 MB, free: 8.918 MB / 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 0.9069/0.9069, allocations: 173.4 MB / 202.3 MB, free: 8.273 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.442e-06/1.442e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.562e-05, allocations: 7.203 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001735/0.001751, allocations: 1.518 MB / 270.7 MB, free: 8.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.00303, allocations: 0.8186 MB / 271.5 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.003071, allocations: 1.781 kB / 271.5 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.704e-05/0.003148, allocations: 7.875 kB / 271.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.003217, allocations: 15.86 kB / 271.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.003432, allocations: 60.41 kB / 271.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.003582, allocations: 135.7 kB / 271.8 MB, free: 7.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.003666, allocations: 20.5 kB / 271.8 MB, free: 7.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.004039, allocations: 415.9 kB / 272.2 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.972e-05/0.004138, allocations: 59.81 kB / 272.2 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.004167, allocations: 8.688 kB / 272.2 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/0.004188, allocations: 8 kB / 272.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.004261, allocations: 68.44 kB / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.004327, allocations: 55.73 kB / 272.4 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.004535, allocations: 265.6 kB / 272.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004537, allocations: 0 / 272.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004537, allocations: 0 / 272.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004541, allocations: 0 / 272.6 MB, free: 6.355 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.0005132/0.005054, allocations: 0.7784 MB / 273.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.005083, allocations: 15.97 kB / 273.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.00514, allocations: 48.7 kB / 273.5 MB, free: 5.453 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.005318, allocations: 223.6 kB / 273.7 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.005336, allocations: 8.375 kB / 273.7 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.005352, allocations: 10.03 kB / 273.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.005579, allocations: 233.6 kB / 273.9 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.005585, allocations: 192 / 273.9 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.0056, allocations: 8.375 kB / 273.9 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.005605, allocations: 4.656 kB / 274 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.005695, allocations: 155.4 kB / 274.1 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.006079, allocations: 408 kB / 274.5 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.006198, allocations: 175.4 kB / 274.7 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.006281, allocations: 162.5 kB / 274.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.006286, allocations: 0.5 kB / 274.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.006465, allocations: 319 kB / 275.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.006465, allocations: 0 / 275.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004795/0.006945, allocations: 0.6489 MB / 275.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.007005, allocations: 162.2 kB / 276 MB, free: 2.637 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.007418, allocations: 0.51 MB / 276.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.007437, allocations: 29.7 kB / 276.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.007493, allocations: 151.8 kB / 276.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.00752, allocations: 35.77 kB / 276.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.007591, allocations: 83.16 kB / 276.8 MB, free: 1.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.007705, allocations: 0.4962 MB / 277.2 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.00779, allocations: 158.8 kB / 277.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.007882, allocations: 170.2 kB / 277.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.008042, allocations: 324.9 kB / 277.9 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008045, allocations: 0 / 277.9 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003136/0.008358, allocations: 471.2 kB / 278.3 MB, free: 20 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.008423, allocations: 126.8 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.008428, allocations: 3.984 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.008434, allocations: 0 / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.331e-05/0.008448, allocations: 7.969 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.00845, allocations: 0 / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.008527, allocations: 15.98 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.00856, allocations: 36 kB / 278.5 MB, free: 15.81 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.000221/0.008781, allocations: 389.3 kB / 278.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.008824, allocations: 51.7 kB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.008895, allocations: 51.09 kB / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.008898, allocations: 4 kB / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008899, allocations: 0 / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008902, allocations: 0 / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.009468, allocations: 0.8546 MB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009471, allocations: 4 kB / 279.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-06/0.009475, allocations: 3.938 kB / 279.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009477, allocations: 0 / 279.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.00949, allocations: 8 kB / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009492, allocations: 4 kB / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.009493, allocations: 0 / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.009875, allocations: 0.6613 MB / 280.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.0101, allocations: 185.3 kB / 280.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.01014, allocations: 12 kB / 280.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.01021, allocations: 12 kB / 280.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.01026, allocations: 23.97 kB / 280.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.01029, allocations: 39.94 kB / 280.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.0105, allocations: 306.9 kB / 281.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0105, allocations: 0 / 281.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.01067, allocations: 51.89 kB / 281.2 MB, free: 12.98 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 8.025e-05/0.01075, allocations: 115 kB / 281.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.01106, allocations: 0.5691 MB / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01106, allocations: 4.062 kB / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.01124, allocations: 416 kB / 282.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.01158, allocations: 129.6 kB / 282.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.01225, allocations: 0.7408 MB / 283.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.733e-05/0.01231, allocations: 99.22 kB / 283.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.622e-05/0.01234, allocations: 12.7 kB / 283.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.01256, allocations: 178.4 kB / 283.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01256, allocations: 0 / 283.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Templates: time 0.005295/0.01785, allocations: 4.519 MB / 287.9 MB, free: 6.055 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.8355641551315784]