Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002176/0.003301, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002806, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9392/0.9392, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0848/1.024, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.706e-05, allocations: 6.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003029/0.003056, allocations: 1.585 MB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.00535, allocations: 0.9089 MB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.005428, allocations: 0 / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.005528, allocations: 11.92 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/0.005617, allocations: 23.78 kB / 247.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.005867, allocations: 51.83 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.006094, allocations: 135.7 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.00618, allocations: 15.98 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005275/0.006708, allocations: 407.2 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.006852, allocations: 51.89 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.006891, allocations: 11.94 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.666e-05/0.006918, allocations: 8 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.007002, allocations: 63.78 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.00708, allocations: 47.75 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.007377, allocations: 247.2 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.372e-05/0.007401, allocations: 0 / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007402, allocations: 0 / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.371e-05/0.007426, allocations: 0 / 248.6 MB, free: 10.08 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.0007643/0.00819, allocations: 0.6729 MB / 249.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.008226, allocations: 12.62 kB / 249.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.0083, allocations: 28.91 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.008543, allocations: 216 kB / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.008567, allocations: 4.375 kB / 249.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.00859, allocations: 8.375 kB / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.008924, allocations: 233.7 kB / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.008933, allocations: 192 / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.008951, allocations: 4.375 kB / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.008961, allocations: 3.938 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.009098, allocations: 158.8 kB / 249.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.009464, allocations: 208.1 kB / 250.1 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.009632, allocations: 169.4 kB / 250.3 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.009751, allocations: 159.7 kB / 250.4 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.009757, allocations: 0 / 250.4 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.01001, allocations: 309.3 kB / 250.7 MB, free: 7.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.01001, allocations: 0 / 250.7 MB, free: 7.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000488/0.0105, allocations: 0.5371 MB / 251.3 MB, free: 7.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.01055, allocations: 89.05 kB / 251.3 MB, free: 6.949 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.01097, allocations: 367.1 kB / 251.7 MB, free: 6.578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.011, allocations: 29.7 kB / 251.7 MB, free: 6.543 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.01104, allocations: 93.11 kB / 251.8 MB, free: 6.449 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.01108, allocations: 31.77 kB / 251.8 MB, free: 6.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.01118, allocations: 73.5 kB / 251.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01128, allocations: 322.8 kB / 252.2 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.01141, allocations: 154.8 kB / 252.4 MB, free: 5.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.01153, allocations: 168.5 kB / 252.6 MB, free: 5.645 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.01178, allocations: 331.2 kB / 252.9 MB, free: 5.266 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01178, allocations: 0 / 252.9 MB, free: 5.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003276/0.01211, allocations: 363.2 kB / 253.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/0.01221, allocations: 130.7 kB / 253.4 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01221, allocations: 0 / 253.4 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01223, allocations: 4.109 kB / 253.4 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-05/0.01225, allocations: 3.938 kB / 253.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01225, allocations: 0 / 253.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01237, allocations: 11.98 kB / 253.4 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.01242, allocations: 44.02 kB / 253.4 MB, free: 4.641 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.0003158/0.01274, allocations: 345.4 kB / 253.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.01279, allocations: 35.91 kB / 253.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.01289, allocations: 55.08 kB / 253.8 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.0129, allocations: 3.938 kB / 253.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.0129, allocations: 0 / 253.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.0129, allocations: 4 kB / 253.9 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.01348, allocations: 0.5978 MB / 254.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01348, allocations: 0 / 254.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.01349, allocations: 4 kB / 254.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.01376, allocations: 139.4 kB / 254.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01376, allocations: 0 / 254.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.01378, allocations: 8 kB / 254.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01379, allocations: 4 kB / 254.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.01379, allocations: 3.984 kB / 254.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.0142, allocations: 0.4931 MB / 255.1 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.01425, allocations: 15.98 kB / 255.1 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.01438, allocations: 12 kB / 255.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.01445, allocations: 15.98 kB / 255.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.01449, allocations: 44.11 kB / 255.2 MB, free: 2.703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.01471, allocations: 160.6 kB / 255.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01471, allocations: 0 / 255.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.01497, allocations: 40 kB / 255.4 MB, free: 2.504 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.0001277/0.0151, allocations: 92.42 kB / 255.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.01555, allocations: 0.5703 MB / 256 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01556, allocations: 4 kB / 256 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.01584, allocations: 415.9 kB / 256.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.01633, allocations: 155.2 kB / 256.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.01757, allocations: 0.7457 MB / 257.3 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.95e-05/0.01767, allocations: 99.25 kB / 257.4 MB, free: 196 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.01772, allocations: 12.7 kB / 257.5 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.01804, allocations: 147.6 kB / 257.6 MB, free: 28 kB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01804, allocations: 0 / 257.6 MB, free: 28 kB / 250.7 MB Notification: Performance of Templates: time 0.007204/0.02525, allocations: 4.363 MB / 262 MB, free: 11.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.479188962839544]