Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002331, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002232, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.063/1.063, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1329/1.196, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.358e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003145/0.003168, allocations: 1.597 MB / 246.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.005239, allocations: 0.905 MB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.00531, allocations: 4 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.005407, allocations: 7.922 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.005491, allocations: 31.72 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.005729, allocations: 51.81 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.005949, allocations: 135.7 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.00604, allocations: 15.97 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.006556, allocations: 399.2 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.006685, allocations: 55.83 kB / 247.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.006725, allocations: 12 kB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.092e-05/0.006756, allocations: 8 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.006841, allocations: 67.77 kB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.006913, allocations: 43.81 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.007199, allocations: 251.1 kB / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.007211, allocations: 0 / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007212, allocations: 0 / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.007222, allocations: 0 / 248.3 MB, free: 10.64 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.0005555/0.007777, allocations: 0.6613 MB / 248.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.007809, allocations: 12.03 kB / 248.9 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.007864, allocations: 28.91 kB / 249 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.008043, allocations: 220 kB / 249.2 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.008061, allocations: 8.312 kB / 249.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.008081, allocations: 12.36 kB / 249.2 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.00835, allocations: 230.7 kB / 249.4 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.008357, allocations: 192 / 249.4 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.00837, allocations: 4.375 kB / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.008379, allocations: 11.91 kB / 249.4 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.008461, allocations: 150.8 kB / 249.6 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.008738, allocations: 212.2 kB / 249.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.008865, allocations: 173.4 kB / 250 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.008947, allocations: 163.6 kB / 250.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-06/0.008952, allocations: 0 / 250.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.009145, allocations: 305.4 kB / 250.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.009146, allocations: 0 / 250.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003331/0.009479, allocations: 0.5368 MB / 251 MB, free: 7.613 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.00954, allocations: 178.2 kB / 251.1 MB, free: 7.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.009808, allocations: 359.1 kB / 251.5 MB, free: 7.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.009832, allocations: 37.7 kB / 251.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.009868, allocations: 93.11 kB / 251.6 MB, free: 6.902 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.009895, allocations: 27.78 kB / 251.6 MB, free: 6.875 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.009964, allocations: 77.48 kB / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.01004, allocations: 326.8 kB / 252 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.01013, allocations: 146.8 kB / 252.2 MB, free: 6.297 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.01021, allocations: 172.5 kB / 252.3 MB, free: 6.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.01036, allocations: 323.3 kB / 252.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01036, allocations: 4 kB / 252.7 MB, free: 5.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002064/0.01057, allocations: 367.2 kB / 253 MB, free: 5.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.01064, allocations: 130.7 kB / 253.2 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01064, allocations: 4 kB / 253.2 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01066, allocations: 0 / 253.2 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-05/0.01068, allocations: 0 / 253.2 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.01068, allocations: 4 kB / 253.2 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.01078, allocations: 8 kB / 253.2 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.01082, allocations: 40.11 kB / 253.2 MB, free: 5.102 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.0002591/0.01108, allocations: 341.3 kB / 253.5 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.01112, allocations: 43.88 kB / 253.6 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.01119, allocations: 55.08 kB / 253.6 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01119, allocations: 4 kB / 253.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01119, allocations: 0 / 253.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.0112, allocations: 0 / 253.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.0116, allocations: 0.6017 MB / 254.2 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0116, allocations: 0 / 254.2 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-06/0.01161, allocations: 0 / 254.2 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.01178, allocations: 139.4 kB / 254.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01178, allocations: 0 / 254.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.0118, allocations: 11.98 kB / 254.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.0118, allocations: 4.188 kB / 254.4 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.0118, allocations: 4 kB / 254.4 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.01208, allocations: 0.5008 MB / 254.9 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.01212, allocations: 12 kB / 254.9 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.0122, allocations: 11.98 kB / 254.9 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.01226, allocations: 19.98 kB / 254.9 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.01229, allocations: 39.92 kB / 255 MB, free: 3.156 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.01243, allocations: 156.6 kB / 255.1 MB, free: 3 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01243, allocations: 0 / 255.1 MB, free: 3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.01259, allocations: 40 kB / 255.2 MB, free: 2.961 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 0.0001175/0.01271, allocations: 96.41 kB / 255.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.01304, allocations: 0.578 MB / 255.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.01304, allocations: 4 kB / 255.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.01323, allocations: 416.1 kB / 256.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.01364, allocations: 384.4 kB / 256.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.01456, allocations: 0.7571 MB / 257.4 MB, free: 472 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.503e-05/0.01462, allocations: 95.27 kB / 257.5 MB, free: 356 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01466, allocations: 8.719 kB / 257.5 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.01489, allocations: 151.7 kB / 257.6 MB, free: 192 kB / 250.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01489, allocations: 0 / 257.6 MB, free: 192 kB / 250.7 MB Notification: Performance of Templates: time 0.006343/0.02123, allocations: 4.37 MB / 262 MB, free: 11.89 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.732587811537087]