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.001084/0.001084, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001876/0.00296, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009759/0.0009759, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002488, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8626/0.8626, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1816/1.044, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.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.603e-06/1.603e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.98e-05, allocations: 2.312 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002759/0.002779, allocations: 1.566 MB / 241.3 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.004724, allocations: 0.8734 MB / 242.2 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.004786, allocations: 0.7188 kB / 242.2 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.437e-05/0.00485, allocations: 7.922 kB / 242.2 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.585e-05/0.004916, allocations: 24.39 kB / 242.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.005106, allocations: 58.34 kB / 242.3 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.005298, allocations: 139.7 kB / 242.4 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.512e-05/0.005363, allocations: 19.98 kB / 242.4 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.005701, allocations: 391.3 kB / 242.8 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.005791, allocations: 59.81 kB / 242.9 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.005816, allocations: 8 kB / 242.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.246e-05/0.005838, allocations: 13.47 kB / 242.9 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.005896, allocations: 63.78 kB / 243 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.005948, allocations: 43.81 kB / 243 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.006146, allocations: 251 kB / 243.2 MB, free: 2.863 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.006156, allocations: 0.8125 kB / 243.2 MB, free: 2.863 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006157, allocations: 0 / 243.2 MB, free: 2.863 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.006168, allocations: 1.094 kB / 243.2 MB, free: 2.863 MB / 234.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.0005242/0.006692, allocations: 0.6691 MB / 243.9 MB, free: 2.145 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.532e-05/0.006718, allocations: 8.031 kB / 243.9 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.006765, allocations: 32.03 kB / 244 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.006914, allocations: 216 kB / 244.2 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.006927, allocations: 8.375 kB / 244.2 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.006942, allocations: 4.375 kB / 244.2 MB, free: 1.859 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.00715, allocations: 241.6 kB / 244.4 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.007155, allocations: 192 / 244.4 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.007169, allocations: 8.375 kB / 244.4 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.007173, allocations: 3.938 kB / 244.4 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.007254, allocations: 156.1 kB / 244.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.007486, allocations: 204.2 kB / 244.8 MB, free: 1.188 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.007592, allocations: 178.4 kB / 245 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.007675, allocations: 159.6 kB / 245.1 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.00768, allocations: 7 kB / 245.1 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.007852, allocations: 297.4 kB / 245.4 MB, free: 464 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.007853, allocations: 0 / 245.4 MB, free: 464 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003336/0.008186, allocations: 0.5332 MB / 245.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.008242, allocations: 178.2 kB / 246.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.008504, allocations: 367.1 kB / 246.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.008523, allocations: 30.67 kB / 246.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.008554, allocations: 100.9 kB / 246.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.008579, allocations: 31.83 kB / 246.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.008641, allocations: 70.41 kB / 246.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.008711, allocations: 322.8 kB / 247 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.008785, allocations: 156.6 kB / 247.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.008864, allocations: 168.5 kB / 247.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.009012, allocations: 327.2 kB / 247.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.009013, allocations: 0.6562 kB / 247.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001977/0.009211, allocations: 362.7 kB / 248 MB, free: 13.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.009266, allocations: 134.7 kB / 248.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.009269, allocations: 1.969 kB / 248.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-06/0.009275, allocations: 0 / 248.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.058e-05/0.009285, allocations: 4 kB / 248.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.009287, allocations: 0 / 248.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.009354, allocations: 15.92 kB / 248.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.009382, allocations: 33.47 kB / 248.2 MB, free: 13.33 MB / 250.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.0002168/0.009599, allocations: 345.4 kB / 248.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.009633, allocations: 43.84 kB / 248.6 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.009701, allocations: 55.7 kB / 248.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009702, allocations: 0 / 248.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.009704, allocations: 0.5938 kB / 248.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009707, allocations: 0.5312 kB / 248.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.01007, allocations: 0.6034 MB / 249.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01007, allocations: 4 kB / 249.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-06/0.01008, allocations: 0 / 249.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.01026, allocations: 135.4 kB / 249.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01026, allocations: 192 / 249.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01027, allocations: 12.5 kB / 249.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01027, allocations: 0.8125 kB / 249.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01027, allocations: 0 / 249.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.01052, allocations: 0.4986 MB / 249.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.01055, allocations: 12 kB / 249.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.278e-05/0.01061, allocations: 11.98 kB / 249.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.01066, allocations: 23.97 kB / 249.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.01068, allocations: 36.03 kB / 250 MB, free: 11.39 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.01082, allocations: 156.6 kB / 250.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 4 kB / 250.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.01097, allocations: 40 kB / 250.2 MB, free: 11.2 MB / 250.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.254e-05/0.01105, allocations: 100.2 kB / 250.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.01133, allocations: 0.5702 MB / 250.8 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.01134, allocations: 7.984 kB / 250.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.01151, allocations: 416 kB / 251.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.01185, allocations: 384.7 kB / 251.6 MB, free: 9.504 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.01262, allocations: 0.7458 MB / 252.4 MB, free: 8.699 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.422e-05/0.01269, allocations: 103.1 kB / 252.5 MB, free: 8.578 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.01273, allocations: 8.719 kB / 252.5 MB, free: 8.566 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.01294, allocations: 147.8 kB / 252.6 MB, free: 8.422 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01294, allocations: 0 / 252.6 MB, free: 8.422 MB / 250.7 MB Notification: Performance of Templates: time 0.004838/0.01777, allocations: 4.379 MB / 257 MB, free: 4.129 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5732225822284818]